@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.
- package/CHANGELOG.md +16 -0
- package/README.md +1012 -719
- package/cjs/index.js +574 -22
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +574 -22
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +145 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
- 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 +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/alert-template-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
- 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/credentials.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto-status.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto-status.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-os-architecture.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +9 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +5 -1
- 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
- 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
- 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
- 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
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +21 -4
package/cjs/index.js
CHANGED
|
@@ -96,6 +96,7 @@ __export(src_exports, {
|
|
|
96
96
|
DavisSecurityAdviceAdviceType: () => DavisSecurityAdviceAdviceType,
|
|
97
97
|
DavisSecurityAdviceTechnology: () => DavisSecurityAdviceTechnology,
|
|
98
98
|
DavisSecurityAdvisorClient: () => DavisSecurityAdvisorClient,
|
|
99
|
+
DeletionConstraintType: () => DeletionConstraintType,
|
|
99
100
|
EffectivePermissionGranted: () => EffectivePermissionGranted,
|
|
100
101
|
EntryPointUsageSegmentSegmentType: () => EntryPointUsageSegmentSegmentType,
|
|
101
102
|
EntryPointUsageSegmentSourceType: () => EntryPointUsageSegmentSourceType,
|
|
@@ -111,6 +112,7 @@ __export(src_exports, {
|
|
|
111
112
|
ExecutionStepMonitorType: () => ExecutionStepMonitorType,
|
|
112
113
|
ExtensionEventDtoStatus: () => ExtensionEventDtoStatus,
|
|
113
114
|
ExtensionStatusDtoStatus: () => ExtensionStatusDtoStatus,
|
|
115
|
+
ExtensionStatusWithIdDtoStatus: () => ExtensionStatusWithIdDtoStatus,
|
|
114
116
|
Extensions_2_0Client: () => Extensions_2_0Client,
|
|
115
117
|
ExternalVaultConfigSourceAuthMethod: () => ExternalVaultConfigSourceAuthMethod,
|
|
116
118
|
ExternalVaultConfigType: () => ExternalVaultConfigType,
|
|
@@ -255,10 +257,11 @@ __export(src_exports, {
|
|
|
255
257
|
SyntheticLocationUpdateType: () => SyntheticLocationUpdateType,
|
|
256
258
|
SyntheticLocationsNodesAndConfigurationClient: () => SyntheticLocationsNodesAndConfigurationClient,
|
|
257
259
|
SyntheticMonitorPerformanceThresholdDtoAggregation: () => SyntheticMonitorPerformanceThresholdDtoAggregation,
|
|
260
|
+
SyntheticMonitorPerformanceThresholdDtoType: () => SyntheticMonitorPerformanceThresholdDtoType,
|
|
258
261
|
SyntheticMonitorSummaryDtoType: () => SyntheticMonitorSummaryDtoType,
|
|
259
|
-
|
|
262
|
+
SyntheticMultiProtocolMonitorRequestType: () => SyntheticMultiProtocolMonitorRequestType,
|
|
263
|
+
SyntheticMultiProtocolMonitorResponseType: () => SyntheticMultiProtocolMonitorResponseType,
|
|
260
264
|
SyntheticMultiProtocolMonitorStepDtoRequestType: () => SyntheticMultiProtocolMonitorStepDtoRequestType,
|
|
261
|
-
SyntheticMultiProtocolMonitorUpdateDtoType: () => SyntheticMultiProtocolMonitorUpdateDtoType,
|
|
262
265
|
SyntheticNetworkAvailabilityMonitorsClient: () => SyntheticNetworkAvailabilityMonitorsClient,
|
|
263
266
|
SyntheticOnDemandBatchStatusBatchStatus: () => SyntheticOnDemandBatchStatusBatchStatus,
|
|
264
267
|
SyntheticOnDemandExecutionExecutionStage: () => SyntheticOnDemandExecutionExecutionStage,
|
|
@@ -2986,7 +2989,8 @@ var ActiveGatesClient = class {
|
|
|
2986
2989
|
disabledModule: config.disabledModule,
|
|
2987
2990
|
containerized: config.containerized,
|
|
2988
2991
|
tokenState: config.tokenState,
|
|
2989
|
-
tokenExpirationSet: config.tokenExpirationSet
|
|
2992
|
+
tokenExpirationSet: config.tokenExpirationSet,
|
|
2993
|
+
fipsMode: config.fipsMode
|
|
2990
2994
|
});
|
|
2991
2995
|
try {
|
|
2992
2996
|
const response = await this.httpClient.send({
|
|
@@ -6351,7 +6355,11 @@ var CredentialVaultClient = class {
|
|
|
6351
6355
|
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
6352
6356
|
*
|
|
6353
6357
|
* const data = await credentialVaultClient.createCredentials({
|
|
6354
|
-
* body: {
|
|
6358
|
+
* body: {
|
|
6359
|
+
* name: "...",
|
|
6360
|
+
* scopes: ["APP_ENGINE"],
|
|
6361
|
+
* type: "AWS_MONITORING_KEY_BASED",
|
|
6362
|
+
* },
|
|
6355
6363
|
* });
|
|
6356
6364
|
*
|
|
6357
6365
|
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
|
|
@@ -6679,7 +6687,11 @@ var CredentialVaultClient = class {
|
|
|
6679
6687
|
*
|
|
6680
6688
|
* const data = await credentialVaultClient.updateCredentials({
|
|
6681
6689
|
* id: "...",
|
|
6682
|
-
* body: {
|
|
6690
|
+
* body: {
|
|
6691
|
+
* name: "...",
|
|
6692
|
+
* scopes: ["APP_ENGINE"],
|
|
6693
|
+
* type: "AWS_MONITORING_KEY_BASED",
|
|
6694
|
+
* },
|
|
6683
6695
|
* });
|
|
6684
6696
|
*
|
|
6685
6697
|
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
|
|
@@ -10421,6 +10433,169 @@ var Extensions_2_0Client = class {
|
|
|
10421
10433
|
}
|
|
10422
10434
|
}
|
|
10423
10435
|
}
|
|
10436
|
+
/**
|
|
10437
|
+
* Gets an alert template asset for given ID
|
|
10438
|
+
*
|
|
10439
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
10440
|
+
* + environment:roles:manage-settings
|
|
10441
|
+
* + extensions:definitions:read
|
|
10442
|
+
*
|
|
10443
|
+
* @returns {Promise<AlertTemplateDto>} Success
|
|
10444
|
+
*
|
|
10445
|
+
* @example <caption>Code example</caption>
|
|
10446
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
10447
|
+
*
|
|
10448
|
+
* const data = await extensions_2_0Client.getAlertTemplate({
|
|
10449
|
+
* extensionName: "...",
|
|
10450
|
+
* assetId: "...",
|
|
10451
|
+
* });
|
|
10452
|
+
*
|
|
10453
|
+
* @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
|
|
10454
|
+
* @throws {InvalidResponseError}
|
|
10455
|
+
* @throws {ApiClientError}
|
|
10456
|
+
* @throws {ClientRequestError}
|
|
10457
|
+
*/
|
|
10458
|
+
async getAlertTemplate(config) {
|
|
10459
|
+
try {
|
|
10460
|
+
const response = await this.httpClient.send({
|
|
10461
|
+
url: `/platform/classic/environment-api/v2/extensions/${config.extensionName}/environmentConfiguration/assets/alertTemplates/${config.assetId}`,
|
|
10462
|
+
method: "GET",
|
|
10463
|
+
headers: {
|
|
10464
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
10465
|
+
},
|
|
10466
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
10467
|
+
statusValidator: (status) => {
|
|
10468
|
+
return [200].includes(status);
|
|
10469
|
+
}
|
|
10470
|
+
});
|
|
10471
|
+
const responseValue = await response.body("json");
|
|
10472
|
+
try {
|
|
10473
|
+
return this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
10474
|
+
} catch (err) {
|
|
10475
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
10476
|
+
`Extensions_2_0Client.getAlertTemplate:200`,
|
|
10477
|
+
err,
|
|
10478
|
+
responseValue,
|
|
10479
|
+
void 0,
|
|
10480
|
+
void 0,
|
|
10481
|
+
response
|
|
10482
|
+
);
|
|
10483
|
+
}
|
|
10484
|
+
} catch (e) {
|
|
10485
|
+
if ((0, import_http_client15.isHttpClientAbortError)(e) || (0, import_shared_errors17.isInvalidResponseError)(e)) {
|
|
10486
|
+
throw e;
|
|
10487
|
+
}
|
|
10488
|
+
if (!(0, import_http_client15.isHttpClientResponseError)(e)) {
|
|
10489
|
+
throw new import_shared_errors17.ApiClientError("UnexpectedError", "Unexpected error", e);
|
|
10490
|
+
}
|
|
10491
|
+
const response = e.response;
|
|
10492
|
+
await (0, import_shared_client_utils15.apiGatewayErrorsHandler)(response);
|
|
10493
|
+
switch (response.status) {
|
|
10494
|
+
case 404: {
|
|
10495
|
+
const responseValue = await response.body("json");
|
|
10496
|
+
try {
|
|
10497
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
10498
|
+
throw new ErrorEnvelopeError(
|
|
10499
|
+
`404`,
|
|
10500
|
+
response,
|
|
10501
|
+
errorBody,
|
|
10502
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Failed. The requested resource doesn't exist."),
|
|
10503
|
+
e
|
|
10504
|
+
);
|
|
10505
|
+
} catch (err) {
|
|
10506
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
10507
|
+
throw err;
|
|
10508
|
+
}
|
|
10509
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
10510
|
+
`Extensions_2_0Client.getAlertTemplate:404`,
|
|
10511
|
+
err,
|
|
10512
|
+
responseValue,
|
|
10513
|
+
"ErrorEnvelope",
|
|
10514
|
+
void 0,
|
|
10515
|
+
response
|
|
10516
|
+
);
|
|
10517
|
+
}
|
|
10518
|
+
}
|
|
10519
|
+
default: {
|
|
10520
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
10521
|
+
const responseValue = await response.body("json");
|
|
10522
|
+
try {
|
|
10523
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
10524
|
+
throw new ErrorEnvelopeError(
|
|
10525
|
+
`${response.status}`,
|
|
10526
|
+
response,
|
|
10527
|
+
errorBody,
|
|
10528
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Client side error."),
|
|
10529
|
+
e
|
|
10530
|
+
);
|
|
10531
|
+
} catch (err) {
|
|
10532
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
10533
|
+
throw err;
|
|
10534
|
+
}
|
|
10535
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
10536
|
+
`Extensions_2_0Client.getAlertTemplate:${response.status}`,
|
|
10537
|
+
err,
|
|
10538
|
+
responseValue,
|
|
10539
|
+
"ErrorEnvelope",
|
|
10540
|
+
void 0,
|
|
10541
|
+
response
|
|
10542
|
+
);
|
|
10543
|
+
}
|
|
10544
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
10545
|
+
const responseValue = await response.body("json");
|
|
10546
|
+
try {
|
|
10547
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
10548
|
+
throw new ErrorEnvelopeError(
|
|
10549
|
+
`${response.status}`,
|
|
10550
|
+
response,
|
|
10551
|
+
errorBody,
|
|
10552
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Server side error."),
|
|
10553
|
+
e
|
|
10554
|
+
);
|
|
10555
|
+
} catch (err) {
|
|
10556
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
10557
|
+
throw err;
|
|
10558
|
+
}
|
|
10559
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
10560
|
+
`Extensions_2_0Client.getAlertTemplate:${response.status}`,
|
|
10561
|
+
err,
|
|
10562
|
+
responseValue,
|
|
10563
|
+
"ErrorEnvelope",
|
|
10564
|
+
void 0,
|
|
10565
|
+
response
|
|
10566
|
+
);
|
|
10567
|
+
}
|
|
10568
|
+
} else {
|
|
10569
|
+
try {
|
|
10570
|
+
const responseValue = await response.body("json");
|
|
10571
|
+
throw new import_shared_errors17.ClientRequestError(
|
|
10572
|
+
`${response.status}`,
|
|
10573
|
+
response,
|
|
10574
|
+
responseValue,
|
|
10575
|
+
(0, import_shared_client_utils15.getErrorMessage)(
|
|
10576
|
+
responseValue,
|
|
10577
|
+
`Unexpected api response: code=${response.status} body="${responseValue}"`
|
|
10578
|
+
)
|
|
10579
|
+
);
|
|
10580
|
+
} catch (error) {
|
|
10581
|
+
if (error instanceof import_shared_errors17.ClientRequestError) {
|
|
10582
|
+
throw error;
|
|
10583
|
+
}
|
|
10584
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
10585
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
10586
|
+
`${response.status}`,
|
|
10587
|
+
error,
|
|
10588
|
+
responseValue,
|
|
10589
|
+
"json",
|
|
10590
|
+
"Unexpected api response",
|
|
10591
|
+
response
|
|
10592
|
+
);
|
|
10593
|
+
}
|
|
10594
|
+
}
|
|
10595
|
+
}
|
|
10596
|
+
}
|
|
10597
|
+
}
|
|
10598
|
+
}
|
|
10424
10599
|
/**
|
|
10425
10600
|
* List of the latest extension environment configuration events
|
|
10426
10601
|
*
|
|
@@ -10983,6 +11158,168 @@ var Extensions_2_0Client = class {
|
|
|
10983
11158
|
}
|
|
10984
11159
|
}
|
|
10985
11160
|
}
|
|
11161
|
+
/**
|
|
11162
|
+
* Gets the most recent status of the execution of monitoring configurations of given extension
|
|
11163
|
+
*
|
|
11164
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
11165
|
+
* + environment:roles:manage-settings
|
|
11166
|
+
* + extensions:configurations:read
|
|
11167
|
+
*
|
|
11168
|
+
* @returns {Promise<ExtensionStatusWithIdDto[]>} Success
|
|
11169
|
+
*
|
|
11170
|
+
* @example <caption>Code example</caption>
|
|
11171
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
11172
|
+
*
|
|
11173
|
+
* const data = await extensions_2_0Client.getExtensionStatus({
|
|
11174
|
+
* extensionName: "...",
|
|
11175
|
+
* });
|
|
11176
|
+
*
|
|
11177
|
+
* @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
|
|
11178
|
+
* @throws {InvalidResponseError}
|
|
11179
|
+
* @throws {ApiClientError}
|
|
11180
|
+
* @throws {ClientRequestError}
|
|
11181
|
+
*/
|
|
11182
|
+
async getExtensionStatus(config) {
|
|
11183
|
+
try {
|
|
11184
|
+
const response = await this.httpClient.send({
|
|
11185
|
+
url: `/platform/classic/environment-api/v2/extensions/${config.extensionName}/monitoringConfigurations/status`,
|
|
11186
|
+
method: "GET",
|
|
11187
|
+
headers: {
|
|
11188
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
11189
|
+
},
|
|
11190
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
11191
|
+
statusValidator: (status) => {
|
|
11192
|
+
return [200].includes(status);
|
|
11193
|
+
}
|
|
11194
|
+
});
|
|
11195
|
+
const responseValue = await response.body("json");
|
|
11196
|
+
try {
|
|
11197
|
+
return this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
11198
|
+
} catch (err) {
|
|
11199
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
11200
|
+
`Extensions_2_0Client.getExtensionStatus:200`,
|
|
11201
|
+
err,
|
|
11202
|
+
responseValue,
|
|
11203
|
+
void 0,
|
|
11204
|
+
void 0,
|
|
11205
|
+
response
|
|
11206
|
+
);
|
|
11207
|
+
}
|
|
11208
|
+
} catch (e) {
|
|
11209
|
+
if ((0, import_http_client15.isHttpClientAbortError)(e) || (0, import_shared_errors17.isInvalidResponseError)(e)) {
|
|
11210
|
+
throw e;
|
|
11211
|
+
}
|
|
11212
|
+
if (!(0, import_http_client15.isHttpClientResponseError)(e)) {
|
|
11213
|
+
throw new import_shared_errors17.ApiClientError("UnexpectedError", "Unexpected error", e);
|
|
11214
|
+
}
|
|
11215
|
+
const response = e.response;
|
|
11216
|
+
await (0, import_shared_client_utils15.apiGatewayErrorsHandler)(response);
|
|
11217
|
+
switch (response.status) {
|
|
11218
|
+
case 404: {
|
|
11219
|
+
const responseValue = await response.body("json");
|
|
11220
|
+
try {
|
|
11221
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
11222
|
+
throw new ErrorEnvelopeError(
|
|
11223
|
+
`404`,
|
|
11224
|
+
response,
|
|
11225
|
+
errorBody,
|
|
11226
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Failed. The requested resource doesn't exist."),
|
|
11227
|
+
e
|
|
11228
|
+
);
|
|
11229
|
+
} catch (err) {
|
|
11230
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
11231
|
+
throw err;
|
|
11232
|
+
}
|
|
11233
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
11234
|
+
`Extensions_2_0Client.getExtensionStatus:404`,
|
|
11235
|
+
err,
|
|
11236
|
+
responseValue,
|
|
11237
|
+
"ErrorEnvelope",
|
|
11238
|
+
void 0,
|
|
11239
|
+
response
|
|
11240
|
+
);
|
|
11241
|
+
}
|
|
11242
|
+
}
|
|
11243
|
+
default: {
|
|
11244
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
11245
|
+
const responseValue = await response.body("json");
|
|
11246
|
+
try {
|
|
11247
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
11248
|
+
throw new ErrorEnvelopeError(
|
|
11249
|
+
`${response.status}`,
|
|
11250
|
+
response,
|
|
11251
|
+
errorBody,
|
|
11252
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Client side error."),
|
|
11253
|
+
e
|
|
11254
|
+
);
|
|
11255
|
+
} catch (err) {
|
|
11256
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
11257
|
+
throw err;
|
|
11258
|
+
}
|
|
11259
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
11260
|
+
`Extensions_2_0Client.getExtensionStatus:${response.status}`,
|
|
11261
|
+
err,
|
|
11262
|
+
responseValue,
|
|
11263
|
+
"ErrorEnvelope",
|
|
11264
|
+
void 0,
|
|
11265
|
+
response
|
|
11266
|
+
);
|
|
11267
|
+
}
|
|
11268
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
11269
|
+
const responseValue = await response.body("json");
|
|
11270
|
+
try {
|
|
11271
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
11272
|
+
throw new ErrorEnvelopeError(
|
|
11273
|
+
`${response.status}`,
|
|
11274
|
+
response,
|
|
11275
|
+
errorBody,
|
|
11276
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Server side error."),
|
|
11277
|
+
e
|
|
11278
|
+
);
|
|
11279
|
+
} catch (err) {
|
|
11280
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
11281
|
+
throw err;
|
|
11282
|
+
}
|
|
11283
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
11284
|
+
`Extensions_2_0Client.getExtensionStatus:${response.status}`,
|
|
11285
|
+
err,
|
|
11286
|
+
responseValue,
|
|
11287
|
+
"ErrorEnvelope",
|
|
11288
|
+
void 0,
|
|
11289
|
+
response
|
|
11290
|
+
);
|
|
11291
|
+
}
|
|
11292
|
+
} else {
|
|
11293
|
+
try {
|
|
11294
|
+
const responseValue = await response.body("json");
|
|
11295
|
+
throw new import_shared_errors17.ClientRequestError(
|
|
11296
|
+
`${response.status}`,
|
|
11297
|
+
response,
|
|
11298
|
+
responseValue,
|
|
11299
|
+
(0, import_shared_client_utils15.getErrorMessage)(
|
|
11300
|
+
responseValue,
|
|
11301
|
+
`Unexpected api response: code=${response.status} body="${responseValue}"`
|
|
11302
|
+
)
|
|
11303
|
+
);
|
|
11304
|
+
} catch (error) {
|
|
11305
|
+
if (error instanceof import_shared_errors17.ClientRequestError) {
|
|
11306
|
+
throw error;
|
|
11307
|
+
}
|
|
11308
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
11309
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
11310
|
+
`${response.status}`,
|
|
11311
|
+
error,
|
|
11312
|
+
responseValue,
|
|
11313
|
+
"json",
|
|
11314
|
+
"Unexpected api response",
|
|
11315
|
+
response
|
|
11316
|
+
);
|
|
11317
|
+
}
|
|
11318
|
+
}
|
|
11319
|
+
}
|
|
11320
|
+
}
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
10986
11323
|
/**
|
|
10987
11324
|
* Gets the details of the specified monitoring configuration
|
|
10988
11325
|
*
|
|
@@ -11739,6 +12076,180 @@ var Extensions_2_0Client = class {
|
|
|
11739
12076
|
}
|
|
11740
12077
|
}
|
|
11741
12078
|
}
|
|
12079
|
+
/**
|
|
12080
|
+
* Gets the audit logs of monitoring configuration of given extension
|
|
12081
|
+
*
|
|
12082
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
12083
|
+
* + environment:roles:manage-settings
|
|
12084
|
+
* + extensions:configurations:read
|
|
12085
|
+
*
|
|
12086
|
+
* @returns {Promise<AuditLog>} Success
|
|
12087
|
+
*
|
|
12088
|
+
* @example <caption>Code example</caption>
|
|
12089
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
12090
|
+
*
|
|
12091
|
+
* const data =
|
|
12092
|
+
* await extensions_2_0Client.monitoringConfigurationAudit({
|
|
12093
|
+
* extensionName: "...",
|
|
12094
|
+
* configurationId: "...",
|
|
12095
|
+
* });
|
|
12096
|
+
*
|
|
12097
|
+
* @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
|
|
12098
|
+
* @throws {InvalidResponseError}
|
|
12099
|
+
* @throws {ApiClientError}
|
|
12100
|
+
* @throws {ClientRequestError}
|
|
12101
|
+
*/
|
|
12102
|
+
async monitoringConfigurationAudit(config) {
|
|
12103
|
+
if (!config) {
|
|
12104
|
+
throw new import_shared_errors17.ApiClientError("API client error", "API client call is missing mandatory config parameter");
|
|
12105
|
+
}
|
|
12106
|
+
const query = (0, import_shared_client_utils15.toQueryString)({
|
|
12107
|
+
nextPageKey: config.nextPageKey,
|
|
12108
|
+
pageSize: config.pageSize,
|
|
12109
|
+
from: config.from,
|
|
12110
|
+
to: config.to,
|
|
12111
|
+
sort: config.sort
|
|
12112
|
+
});
|
|
12113
|
+
try {
|
|
12114
|
+
const response = await this.httpClient.send({
|
|
12115
|
+
url: `/platform/classic/environment-api/v2/extensions/${config.extensionName}/monitoringConfigurations/${config.configurationId}/audit${query}`,
|
|
12116
|
+
method: "GET",
|
|
12117
|
+
headers: {
|
|
12118
|
+
Accept: "application/json; charset=utf-8, application/json"
|
|
12119
|
+
},
|
|
12120
|
+
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
12121
|
+
statusValidator: (status) => {
|
|
12122
|
+
return [200].includes(status);
|
|
12123
|
+
}
|
|
12124
|
+
});
|
|
12125
|
+
const responseValue = await response.body("json");
|
|
12126
|
+
try {
|
|
12127
|
+
return this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
12128
|
+
} catch (err) {
|
|
12129
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
12130
|
+
`Extensions_2_0Client.monitoringConfigurationAudit:200`,
|
|
12131
|
+
err,
|
|
12132
|
+
responseValue,
|
|
12133
|
+
void 0,
|
|
12134
|
+
void 0,
|
|
12135
|
+
response
|
|
12136
|
+
);
|
|
12137
|
+
}
|
|
12138
|
+
} catch (e) {
|
|
12139
|
+
if ((0, import_http_client15.isHttpClientAbortError)(e) || (0, import_shared_errors17.isInvalidResponseError)(e)) {
|
|
12140
|
+
throw e;
|
|
12141
|
+
}
|
|
12142
|
+
if (!(0, import_http_client15.isHttpClientResponseError)(e)) {
|
|
12143
|
+
throw new import_shared_errors17.ApiClientError("UnexpectedError", "Unexpected error", e);
|
|
12144
|
+
}
|
|
12145
|
+
const response = e.response;
|
|
12146
|
+
await (0, import_shared_client_utils15.apiGatewayErrorsHandler)(response);
|
|
12147
|
+
switch (response.status) {
|
|
12148
|
+
case 404: {
|
|
12149
|
+
const responseValue = await response.body("json");
|
|
12150
|
+
try {
|
|
12151
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
12152
|
+
throw new ErrorEnvelopeError(
|
|
12153
|
+
`404`,
|
|
12154
|
+
response,
|
|
12155
|
+
errorBody,
|
|
12156
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Failed. The requested resource doesn't exist."),
|
|
12157
|
+
e
|
|
12158
|
+
);
|
|
12159
|
+
} catch (err) {
|
|
12160
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
12161
|
+
throw err;
|
|
12162
|
+
}
|
|
12163
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
12164
|
+
`Extensions_2_0Client.monitoringConfigurationAudit:404`,
|
|
12165
|
+
err,
|
|
12166
|
+
responseValue,
|
|
12167
|
+
"ErrorEnvelope",
|
|
12168
|
+
void 0,
|
|
12169
|
+
response
|
|
12170
|
+
);
|
|
12171
|
+
}
|
|
12172
|
+
}
|
|
12173
|
+
default: {
|
|
12174
|
+
if (response.status >= 400 && response.status <= 499) {
|
|
12175
|
+
const responseValue = await response.body("json");
|
|
12176
|
+
try {
|
|
12177
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
12178
|
+
throw new ErrorEnvelopeError(
|
|
12179
|
+
`${response.status}`,
|
|
12180
|
+
response,
|
|
12181
|
+
errorBody,
|
|
12182
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Client side error."),
|
|
12183
|
+
e
|
|
12184
|
+
);
|
|
12185
|
+
} catch (err) {
|
|
12186
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
12187
|
+
throw err;
|
|
12188
|
+
}
|
|
12189
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
12190
|
+
`Extensions_2_0Client.monitoringConfigurationAudit:${response.status}`,
|
|
12191
|
+
err,
|
|
12192
|
+
responseValue,
|
|
12193
|
+
"ErrorEnvelope",
|
|
12194
|
+
void 0,
|
|
12195
|
+
response
|
|
12196
|
+
);
|
|
12197
|
+
}
|
|
12198
|
+
} else if (response.status >= 500 && response.status <= 599) {
|
|
12199
|
+
const responseValue = await response.body("json");
|
|
12200
|
+
try {
|
|
12201
|
+
const errorBody = this.shouldTransformDates ? (0, import_shared_client_utils15.transformResponse)(responseValue, []) : responseValue;
|
|
12202
|
+
throw new ErrorEnvelopeError(
|
|
12203
|
+
`${response.status}`,
|
|
12204
|
+
response,
|
|
12205
|
+
errorBody,
|
|
12206
|
+
(0, import_shared_client_utils15.getErrorMessage)(errorBody, "Server side error."),
|
|
12207
|
+
e
|
|
12208
|
+
);
|
|
12209
|
+
} catch (err) {
|
|
12210
|
+
if (err instanceof ErrorEnvelopeError) {
|
|
12211
|
+
throw err;
|
|
12212
|
+
}
|
|
12213
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
12214
|
+
`Extensions_2_0Client.monitoringConfigurationAudit:${response.status}`,
|
|
12215
|
+
err,
|
|
12216
|
+
responseValue,
|
|
12217
|
+
"ErrorEnvelope",
|
|
12218
|
+
void 0,
|
|
12219
|
+
response
|
|
12220
|
+
);
|
|
12221
|
+
}
|
|
12222
|
+
} else {
|
|
12223
|
+
try {
|
|
12224
|
+
const responseValue = await response.body("json");
|
|
12225
|
+
throw new import_shared_errors17.ClientRequestError(
|
|
12226
|
+
`${response.status}`,
|
|
12227
|
+
response,
|
|
12228
|
+
responseValue,
|
|
12229
|
+
(0, import_shared_client_utils15.getErrorMessage)(
|
|
12230
|
+
responseValue,
|
|
12231
|
+
`Unexpected api response: code=${response.status} body="${responseValue}"`
|
|
12232
|
+
)
|
|
12233
|
+
);
|
|
12234
|
+
} catch (error) {
|
|
12235
|
+
if (error instanceof import_shared_errors17.ClientRequestError) {
|
|
12236
|
+
throw error;
|
|
12237
|
+
}
|
|
12238
|
+
const responseValue = await response.body("text").catch(() => "");
|
|
12239
|
+
throw new import_shared_errors17.InvalidResponseError(
|
|
12240
|
+
`${response.status}`,
|
|
12241
|
+
error,
|
|
12242
|
+
responseValue,
|
|
12243
|
+
"json",
|
|
12244
|
+
"Unexpected api response",
|
|
12245
|
+
response
|
|
12246
|
+
);
|
|
12247
|
+
}
|
|
12248
|
+
}
|
|
12249
|
+
}
|
|
12250
|
+
}
|
|
12251
|
+
}
|
|
12252
|
+
}
|
|
11742
12253
|
/**
|
|
11743
12254
|
* Gets the list of the events linked to specific monitoring configuration
|
|
11744
12255
|
*
|
|
@@ -12545,7 +13056,11 @@ var Extensions_2_0Client = class {
|
|
|
12545
13056
|
/**
|
|
12546
13057
|
* Gets the configuration schema of the specified version of the extension 2.0
|
|
12547
13058
|
*
|
|
12548
|
-
* **
|
|
13059
|
+
* **One of the following scopes is required:**
|
|
13060
|
+
* + environment-api:extensions:read
|
|
13061
|
+
* + environment-api:extension-configurations:read
|
|
13062
|
+
*
|
|
13063
|
+
* <br/>**One of the following permissions is required:**
|
|
12549
13064
|
* + environment:roles:manage-settings
|
|
12550
13065
|
* + extensions:definitions:read
|
|
12551
13066
|
*
|
|
@@ -22720,6 +23235,8 @@ var SettingsObjectsClient = class {
|
|
|
22720
23235
|
*
|
|
22721
23236
|
* If no object along the hierarchy is persisted, the default value as defined in the schema will be returned.
|
|
22722
23237
|
*
|
|
23238
|
+
* **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.
|
|
23239
|
+
*
|
|
22723
23240
|
* @returns {Promise<EffectiveSettingsValuesList>} Success
|
|
22724
23241
|
*
|
|
22725
23242
|
* @example <caption>Code example</caption>
|
|
@@ -23095,6 +23612,8 @@ var SettingsObjectsClient = class {
|
|
|
23095
23612
|
*
|
|
23096
23613
|
* If nothing is persisted or if all persisted settings objects are not accessible due to missing permissions, no items will be returned.
|
|
23097
23614
|
*
|
|
23615
|
+
* **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.
|
|
23616
|
+
*
|
|
23098
23617
|
* To query the effective values (including schema defaults) please see [/settings/effectiveValues](#/Settings%20-%20Objects/getEffectiveSettingsValues).
|
|
23099
23618
|
*
|
|
23100
23619
|
* @returns {Promise<ObjectsList>} Success. Accessible objects returned.
|
|
@@ -26648,7 +27167,7 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
26648
27167
|
/**
|
|
26649
27168
|
* Lists all synthetic locations (both public and private) available for your environment
|
|
26650
27169
|
*
|
|
26651
|
-
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:
|
|
27170
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
|
|
26652
27171
|
*
|
|
26653
27172
|
* @returns {Promise<SyntheticLocations>} Success
|
|
26654
27173
|
*
|
|
@@ -27814,7 +28333,6 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
27814
28333
|
throw new import_shared_errors36.ApiClientError("API client error", "API client call is missing mandatory config parameter");
|
|
27815
28334
|
}
|
|
27816
28335
|
const query = (0, import_shared_client_utils31.toQueryString)({
|
|
27817
|
-
platform: config.platform,
|
|
27818
28336
|
activeGateName: config.activeGateName,
|
|
27819
28337
|
namespace: config.namespace,
|
|
27820
28338
|
customRegistry: config.customRegistry,
|
|
@@ -28469,7 +28987,7 @@ var SyntheticNetworkAvailabilityMonitorsClient = class {
|
|
|
28469
28987
|
*
|
|
28470
28988
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
28471
28989
|
*
|
|
28472
|
-
* @returns {Promise<
|
|
28990
|
+
* @returns {Promise<SyntheticMultiProtocolMonitorResponse>} Success
|
|
28473
28991
|
*
|
|
28474
28992
|
* @example <caption>Code example</caption>
|
|
28475
28993
|
* import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -30051,6 +30569,7 @@ var ActiveGateOsArchitecture = /* @__PURE__ */ ((ActiveGateOsArchitecture2) => {
|
|
|
30051
30569
|
ActiveGateOsArchitecture2["S390"] = "S390";
|
|
30052
30570
|
ActiveGateOsArchitecture2["X86"] = "X86";
|
|
30053
30571
|
ActiveGateOsArchitecture2["Arm"] = "ARM";
|
|
30572
|
+
ActiveGateOsArchitecture2["Ppcle"] = "PPCLE";
|
|
30054
30573
|
return ActiveGateOsArchitecture2;
|
|
30055
30574
|
})(ActiveGateOsArchitecture || {});
|
|
30056
30575
|
|
|
@@ -30398,6 +30917,7 @@ var AssessmentAccuracyDetailsReducedReasonsItem = /* @__PURE__ */ ((AssessmentAc
|
|
|
30398
30917
|
// packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.ts
|
|
30399
30918
|
var AssetInfoDtoType = /* @__PURE__ */ ((AssetInfoDtoType2) => {
|
|
30400
30919
|
AssetInfoDtoType2["Alert"] = "ALERT";
|
|
30920
|
+
AssetInfoDtoType2["AlertTemplate"] = "ALERT_TEMPLATE";
|
|
30401
30921
|
AssetInfoDtoType2["AwsService"] = "AWS_SERVICE";
|
|
30402
30922
|
AssetInfoDtoType2["CustomCards"] = "CUSTOM_CARDS";
|
|
30403
30923
|
AssetInfoDtoType2["Dashboard"] = "DASHBOARD";
|
|
@@ -30417,6 +30937,7 @@ var AssetInfoDtoType = /* @__PURE__ */ ((AssetInfoDtoType2) => {
|
|
|
30417
30937
|
AssetInfoDtoType2["LqlLogProcessingRule"] = "LQL_LOG_PROCESSING_RULE";
|
|
30418
30938
|
AssetInfoDtoType2["MetricMetadata"] = "METRIC_METADATA";
|
|
30419
30939
|
AssetInfoDtoType2["MetricQuery"] = "METRIC_QUERY";
|
|
30940
|
+
AssetInfoDtoType2["ProcessGroupingRules"] = "PROCESS_GROUPING_RULES";
|
|
30420
30941
|
AssetInfoDtoType2["ScreenActions"] = "SCREEN_ACTIONS";
|
|
30421
30942
|
AssetInfoDtoType2["ScreenChartGroups"] = "SCREEN_CHART_GROUPS";
|
|
30422
30943
|
AssetInfoDtoType2["ScreenDqlTable"] = "SCREEN_DQL_TABLE";
|
|
@@ -30657,6 +31178,14 @@ var DavisSecurityAdviceTechnology = /* @__PURE__ */ ((DavisSecurityAdviceTechnol
|
|
|
30657
31178
|
return DavisSecurityAdviceTechnology2;
|
|
30658
31179
|
})(DavisSecurityAdviceTechnology || {});
|
|
30659
31180
|
|
|
31181
|
+
// packages/client/classic-environment-v2/src/lib/models/deletion-constraint-type.ts
|
|
31182
|
+
var DeletionConstraintType = /* @__PURE__ */ ((DeletionConstraintType2) => {
|
|
31183
|
+
DeletionConstraintType2["CustomValidatorRef"] = "CUSTOM_VALIDATOR_REF";
|
|
31184
|
+
DeletionConstraintType2["ReferentialIntegrity"] = "REFERENTIAL_INTEGRITY";
|
|
31185
|
+
DeletionConstraintType2["Unknown"] = "UNKNOWN";
|
|
31186
|
+
return DeletionConstraintType2;
|
|
31187
|
+
})(DeletionConstraintType || {});
|
|
31188
|
+
|
|
30660
31189
|
// packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.ts
|
|
30661
31190
|
var EffectivePermissionGranted = /* @__PURE__ */ ((EffectivePermissionGranted2) => {
|
|
30662
31191
|
EffectivePermissionGranted2["Condition"] = "condition";
|
|
@@ -30780,10 +31309,22 @@ var ExtensionEventDtoStatus = /* @__PURE__ */ ((ExtensionEventDtoStatus2) => {
|
|
|
30780
31309
|
var ExtensionStatusDtoStatus = /* @__PURE__ */ ((ExtensionStatusDtoStatus2) => {
|
|
30781
31310
|
ExtensionStatusDtoStatus2["Error"] = "ERROR";
|
|
30782
31311
|
ExtensionStatusDtoStatus2["Ok"] = "OK";
|
|
31312
|
+
ExtensionStatusDtoStatus2["Pending"] = "PENDING";
|
|
30783
31313
|
ExtensionStatusDtoStatus2["Unknown"] = "UNKNOWN";
|
|
31314
|
+
ExtensionStatusDtoStatus2["Warning"] = "WARNING";
|
|
30784
31315
|
return ExtensionStatusDtoStatus2;
|
|
30785
31316
|
})(ExtensionStatusDtoStatus || {});
|
|
30786
31317
|
|
|
31318
|
+
// packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto-status.ts
|
|
31319
|
+
var ExtensionStatusWithIdDtoStatus = /* @__PURE__ */ ((ExtensionStatusWithIdDtoStatus2) => {
|
|
31320
|
+
ExtensionStatusWithIdDtoStatus2["Error"] = "ERROR";
|
|
31321
|
+
ExtensionStatusWithIdDtoStatus2["Ok"] = "OK";
|
|
31322
|
+
ExtensionStatusWithIdDtoStatus2["Pending"] = "PENDING";
|
|
31323
|
+
ExtensionStatusWithIdDtoStatus2["Unknown"] = "UNKNOWN";
|
|
31324
|
+
ExtensionStatusWithIdDtoStatus2["Warning"] = "WARNING";
|
|
31325
|
+
return ExtensionStatusWithIdDtoStatus2;
|
|
31326
|
+
})(ExtensionStatusWithIdDtoStatus || {});
|
|
31327
|
+
|
|
30787
31328
|
// packages/client/classic-environment-v2/src/lib/models/external-vault-config-source-auth-method.ts
|
|
30788
31329
|
var ExternalVaultConfigSourceAuthMethod = /* @__PURE__ */ ((ExternalVaultConfigSourceAuthMethod2) => {
|
|
30789
31330
|
ExternalVaultConfigSourceAuthMethod2["AzureKeyVaultClientSecret"] = "AZURE_KEY_VAULT_CLIENT_SECRET";
|
|
@@ -30895,6 +31436,7 @@ var GetAllActiveGatesQueryOsArchitecture = /* @__PURE__ */ ((GetAllActiveGatesQu
|
|
|
30895
31436
|
GetAllActiveGatesQueryOsArchitecture2["X86"] = "X86";
|
|
30896
31437
|
GetAllActiveGatesQueryOsArchitecture2["S390"] = "S390";
|
|
30897
31438
|
GetAllActiveGatesQueryOsArchitecture2["Arm"] = "ARM";
|
|
31439
|
+
GetAllActiveGatesQueryOsArchitecture2["Ppcle"] = "PPCLE";
|
|
30898
31440
|
return GetAllActiveGatesQueryOsArchitecture2;
|
|
30899
31441
|
})(GetAllActiveGatesQueryOsArchitecture || {});
|
|
30900
31442
|
|
|
@@ -31255,6 +31797,7 @@ var MetricDescriptorTransformationsItem = /* @__PURE__ */ ((MetricDescriptorTran
|
|
|
31255
31797
|
MetricDescriptorTransformationsItem2["EvaluateModel"] = "evaluateModel";
|
|
31256
31798
|
MetricDescriptorTransformationsItem2["Filter"] = "filter";
|
|
31257
31799
|
MetricDescriptorTransformationsItem2["Fold"] = "fold";
|
|
31800
|
+
MetricDescriptorTransformationsItem2["Histogram"] = "histogram";
|
|
31258
31801
|
MetricDescriptorTransformationsItem2["Last"] = "last";
|
|
31259
31802
|
MetricDescriptorTransformationsItem2["LastReal"] = "lastReal";
|
|
31260
31803
|
MetricDescriptorTransformationsItem2["Limit"] = "limit";
|
|
@@ -31348,6 +31891,7 @@ var MonitoredEntityStatesState = /* @__PURE__ */ ((MonitoredEntityStatesState2)
|
|
|
31348
31891
|
MonitoredEntityStatesState2["ProcessGroupDisabledViaGlobalSettings"] = "process_group_disabled_via_global_settings";
|
|
31349
31892
|
MonitoredEntityStatesState2["ProcessGroupDisabledViaInjectionRule"] = "process_group_disabled_via_injection_rule";
|
|
31350
31893
|
MonitoredEntityStatesState2["ProcessGroupDisabledViaInjectionRuleRestart"] = "process_group_disabled_via_injection_rule_restart";
|
|
31894
|
+
MonitoredEntityStatesState2["ProcessGroupPgrGroupUpdateSuppressed"] = "process_group_pgr_group_update_suppressed";
|
|
31351
31895
|
MonitoredEntityStatesState2["RestartRequired"] = "restart_required";
|
|
31352
31896
|
MonitoredEntityStatesState2["RestartRequiredApache"] = "restart_required_apache";
|
|
31353
31897
|
MonitoredEntityStatesState2["RestartRequiredDockerDeamon"] = "restart_required_docker_deamon";
|
|
@@ -31788,6 +32332,7 @@ var RollupType = /* @__PURE__ */ ((RollupType2) => {
|
|
|
31788
32332
|
|
|
31789
32333
|
// packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto-type.ts
|
|
31790
32334
|
var SchemaConstraintRestDtoType = /* @__PURE__ */ ((SchemaConstraintRestDtoType2) => {
|
|
32335
|
+
SchemaConstraintRestDtoType2["ByteSizeLimit"] = "BYTE_SIZE_LIMIT";
|
|
31791
32336
|
SchemaConstraintRestDtoType2["CustomValidatorRef"] = "CUSTOM_VALIDATOR_REF";
|
|
31792
32337
|
SchemaConstraintRestDtoType2["MultiScopeCustomValidatorRef"] = "MULTI_SCOPE_CUSTOM_VALIDATOR_REF";
|
|
31793
32338
|
SchemaConstraintRestDtoType2["MultiScopeUnique"] = "MULTI_SCOPE_UNIQUE";
|
|
@@ -31965,6 +32510,13 @@ var SyntheticMonitorPerformanceThresholdDtoAggregation = /* @__PURE__ */ ((Synth
|
|
|
31965
32510
|
return SyntheticMonitorPerformanceThresholdDtoAggregation2;
|
|
31966
32511
|
})(SyntheticMonitorPerformanceThresholdDtoAggregation || {});
|
|
31967
32512
|
|
|
32513
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.ts
|
|
32514
|
+
var SyntheticMonitorPerformanceThresholdDtoType = /* @__PURE__ */ ((SyntheticMonitorPerformanceThresholdDtoType2) => {
|
|
32515
|
+
SyntheticMonitorPerformanceThresholdDtoType2["Monitor"] = "MONITOR";
|
|
32516
|
+
SyntheticMonitorPerformanceThresholdDtoType2["Step"] = "STEP";
|
|
32517
|
+
return SyntheticMonitorPerformanceThresholdDtoType2;
|
|
32518
|
+
})(SyntheticMonitorPerformanceThresholdDtoType || {});
|
|
32519
|
+
|
|
31968
32520
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-summary-dto-type.ts
|
|
31969
32521
|
var SyntheticMonitorSummaryDtoType = /* @__PURE__ */ ((SyntheticMonitorSummaryDtoType2) => {
|
|
31970
32522
|
SyntheticMonitorSummaryDtoType2["Browser"] = "BROWSER";
|
|
@@ -31974,13 +32526,19 @@ var SyntheticMonitorSummaryDtoType = /* @__PURE__ */ ((SyntheticMonitorSummaryDt
|
|
|
31974
32526
|
return SyntheticMonitorSummaryDtoType2;
|
|
31975
32527
|
})(SyntheticMonitorSummaryDtoType || {});
|
|
31976
32528
|
|
|
31977
|
-
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-
|
|
31978
|
-
var
|
|
31979
|
-
|
|
31980
|
-
|
|
31981
|
-
|
|
31982
|
-
|
|
31983
|
-
|
|
32529
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.ts
|
|
32530
|
+
var SyntheticMultiProtocolMonitorRequestType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorRequestType2) => {
|
|
32531
|
+
SyntheticMultiProtocolMonitorRequestType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
32532
|
+
return SyntheticMultiProtocolMonitorRequestType2;
|
|
32533
|
+
})(SyntheticMultiProtocolMonitorRequestType || {});
|
|
32534
|
+
|
|
32535
|
+
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response-type.ts
|
|
32536
|
+
var SyntheticMultiProtocolMonitorResponseType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorResponseType2) => {
|
|
32537
|
+
SyntheticMultiProtocolMonitorResponseType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
32538
|
+
SyntheticMultiProtocolMonitorResponseType2["Browser"] = "BROWSER";
|
|
32539
|
+
SyntheticMultiProtocolMonitorResponseType2["Http"] = "HTTP";
|
|
32540
|
+
return SyntheticMultiProtocolMonitorResponseType2;
|
|
32541
|
+
})(SyntheticMultiProtocolMonitorResponseType || {});
|
|
31984
32542
|
|
|
31985
32543
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto-request-type.ts
|
|
31986
32544
|
var SyntheticMultiProtocolMonitorStepDtoRequestType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorStepDtoRequestType2) => {
|
|
@@ -31990,12 +32548,6 @@ var SyntheticMultiProtocolMonitorStepDtoRequestType = /* @__PURE__ */ ((Syntheti
|
|
|
31990
32548
|
return SyntheticMultiProtocolMonitorStepDtoRequestType2;
|
|
31991
32549
|
})(SyntheticMultiProtocolMonitorStepDtoRequestType || {});
|
|
31992
32550
|
|
|
31993
|
-
// packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto-type.ts
|
|
31994
|
-
var SyntheticMultiProtocolMonitorUpdateDtoType = /* @__PURE__ */ ((SyntheticMultiProtocolMonitorUpdateDtoType2) => {
|
|
31995
|
-
SyntheticMultiProtocolMonitorUpdateDtoType2["MultiProtocol"] = "MULTI_PROTOCOL";
|
|
31996
|
-
return SyntheticMultiProtocolMonitorUpdateDtoType2;
|
|
31997
|
-
})(SyntheticMultiProtocolMonitorUpdateDtoType || {});
|
|
31998
|
-
|
|
31999
32551
|
// packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status-batch-status.ts
|
|
32000
32552
|
var SyntheticOnDemandBatchStatusBatchStatus = /* @__PURE__ */ ((SyntheticOnDemandBatchStatusBatchStatus2) => {
|
|
32001
32553
|
SyntheticOnDemandBatchStatusBatchStatus2["Failed"] = "FAILED";
|