@dynatrace-sdk/client-classic-environment-v2 8.0.0 → 9.0.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 +11 -0
- package/README.md +481 -462
- package/cjs/index.js +30 -21
- package/esm/index.js +30 -21
- package/package.json +1 -1
- package/types/index.d.ts +41 -11
package/cjs/index.js
CHANGED
|
@@ -1671,6 +1671,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
1671
1671
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
1672
1672
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
1673
1673
|
*
|
|
1674
|
+
* @deprecated
|
|
1675
|
+
*
|
|
1674
1676
|
* @returns {Promise<ApiTokenList>} Success
|
|
1675
1677
|
*
|
|
1676
1678
|
* @example <caption>Code example</caption>
|
|
@@ -1852,6 +1854,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
1852
1854
|
*
|
|
1853
1855
|
* Creating personal access tokens requires the `environment:roles:viewer` permission. Creating access tokens requires the `environment:roles:manage-settings` permission.
|
|
1854
1856
|
*
|
|
1857
|
+
* @deprecated
|
|
1858
|
+
*
|
|
1855
1859
|
* @returns {Promise<ApiTokenCreated>} Success. The token has been created. The body of the response contains the token secret.
|
|
1856
1860
|
*
|
|
1857
1861
|
* @example <caption>Code example</caption>
|
|
@@ -2026,6 +2030,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
2026
2030
|
* + environment:roles:viewer
|
|
2027
2031
|
* + api-tokens:tokens:read
|
|
2028
2032
|
*
|
|
2033
|
+
*
|
|
2034
|
+
*
|
|
2035
|
+
* @deprecated
|
|
2036
|
+
*
|
|
2029
2037
|
* @returns {Promise<ApiToken>} Success
|
|
2030
2038
|
*
|
|
2031
2039
|
* @example <caption>Code example</caption>
|
|
@@ -2191,6 +2199,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
2191
2199
|
*
|
|
2192
2200
|
* <br/><br/>The token secret is **not** exposed.
|
|
2193
2201
|
*
|
|
2202
|
+
* @deprecated
|
|
2203
|
+
*
|
|
2194
2204
|
* @returns {Promise<ApiToken>} Success
|
|
2195
2205
|
*
|
|
2196
2206
|
* @example <caption>Code example</caption>
|
|
@@ -2368,6 +2378,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
2368
2378
|
* + environment:roles:viewer
|
|
2369
2379
|
* + api-tokens:tokens:write
|
|
2370
2380
|
*
|
|
2381
|
+
*
|
|
2382
|
+
*
|
|
2383
|
+
* @deprecated
|
|
2384
|
+
*
|
|
2371
2385
|
* @example <caption>Code example</caption>
|
|
2372
2386
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
2373
2387
|
*
|
|
@@ -2528,6 +2542,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
2528
2542
|
* + environment:roles:viewer
|
|
2529
2543
|
* + api-tokens:tokens:write
|
|
2530
2544
|
*
|
|
2545
|
+
*
|
|
2546
|
+
*
|
|
2547
|
+
* @deprecated
|
|
2548
|
+
*
|
|
2531
2549
|
* @example <caption>Code example</caption>
|
|
2532
2550
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
2533
2551
|
*
|
|
@@ -33560,14 +33578,18 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33560
33578
|
*
|
|
33561
33579
|
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
33562
33580
|
*
|
|
33563
|
-
* @returns {Promise<SyntheticConfigDto>} Success. The set of synthetic related parameters has been updated. Response doesn't have a body.
|
|
33564
|
-
*
|
|
33565
33581
|
* @example <caption>Code example</caption>
|
|
33566
33582
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
33567
33583
|
*
|
|
33568
33584
|
* const data =
|
|
33569
33585
|
* await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
|
|
33570
|
-
* {
|
|
33586
|
+
* {
|
|
33587
|
+
* body: {
|
|
33588
|
+
* bmMonitorTimeout: 10,
|
|
33589
|
+
* bmStepTimeout: 10,
|
|
33590
|
+
* maintenanceWindowsExcludedFromAvailability: false,
|
|
33591
|
+
* },
|
|
33592
|
+
* },
|
|
33571
33593
|
* );
|
|
33572
33594
|
*
|
|
33573
33595
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
@@ -33581,35 +33603,22 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33581
33603
|
}
|
|
33582
33604
|
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
33583
33605
|
try {
|
|
33584
|
-
|
|
33606
|
+
await this.httpClient.send({
|
|
33585
33607
|
url: `/platform/classic/environment-api/v2/synthetic/config`,
|
|
33586
33608
|
method: "PUT",
|
|
33587
33609
|
requestBodyType: "json",
|
|
33588
33610
|
body: encodedBody,
|
|
33589
33611
|
headers: {
|
|
33590
|
-
"Content-Type": "application/json; charset=utf-8"
|
|
33591
|
-
Accept: "application/json; charset=utf-8, application/json"
|
|
33612
|
+
"Content-Type": "application/json; charset=utf-8"
|
|
33592
33613
|
},
|
|
33593
33614
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
33594
33615
|
statusValidator: (status) => {
|
|
33595
33616
|
return [204].includes(status);
|
|
33596
33617
|
}
|
|
33597
33618
|
});
|
|
33598
|
-
|
|
33599
|
-
try {
|
|
33600
|
-
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
33601
|
-
} catch (err) {
|
|
33602
|
-
throw new import_shared_errors47.InvalidResponseError(
|
|
33603
|
-
`SyntheticLocationsNodesAndConfigurationClient.updateConfiguration:204`,
|
|
33604
|
-
err,
|
|
33605
|
-
responseValue,
|
|
33606
|
-
void 0,
|
|
33607
|
-
void 0,
|
|
33608
|
-
response
|
|
33609
|
-
);
|
|
33610
|
-
}
|
|
33619
|
+
return;
|
|
33611
33620
|
} catch (e) {
|
|
33612
|
-
if ((0, import_http_client39.isHttpClientAbortError)(e)
|
|
33621
|
+
if ((0, import_http_client39.isHttpClientAbortError)(e)) {
|
|
33613
33622
|
throw e;
|
|
33614
33623
|
}
|
|
33615
33624
|
if (!(0, import_http_client39.isHttpClientResponseError)(e)) {
|
|
@@ -33843,7 +33852,6 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33843
33852
|
* latitude: 10,
|
|
33844
33853
|
* longitude: 10,
|
|
33845
33854
|
* name: "...",
|
|
33846
|
-
* nodes: ["..."],
|
|
33847
33855
|
* type: "CLUSTER",
|
|
33848
33856
|
* },
|
|
33849
33857
|
* },
|
|
@@ -38919,6 +38927,7 @@ var MetricDescriptorAggregationTypesItem = /* @__PURE__ */ ((MetricDescriptorAgg
|
|
|
38919
38927
|
// packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.ts
|
|
38920
38928
|
var MetricDescriptorTransformationsItem = /* @__PURE__ */ ((MetricDescriptorTransformationsItem2) => {
|
|
38921
38929
|
MetricDescriptorTransformationsItem2["AsGauge"] = "asGauge";
|
|
38930
|
+
MetricDescriptorTransformationsItem2["AsHistogram"] = "asHistogram";
|
|
38922
38931
|
MetricDescriptorTransformationsItem2["Default"] = "default";
|
|
38923
38932
|
MetricDescriptorTransformationsItem2["Delta"] = "delta";
|
|
38924
38933
|
MetricDescriptorTransformationsItem2["EvaluateModel"] = "evaluateModel";
|
package/esm/index.js
CHANGED
|
@@ -1314,6 +1314,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
1314
1314
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
1315
1315
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
1316
1316
|
*
|
|
1317
|
+
* @deprecated
|
|
1318
|
+
*
|
|
1317
1319
|
* @returns {Promise<ApiTokenList>} Success
|
|
1318
1320
|
*
|
|
1319
1321
|
* @example <caption>Code example</caption>
|
|
@@ -1495,6 +1497,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
1495
1497
|
*
|
|
1496
1498
|
* Creating personal access tokens requires the `environment:roles:viewer` permission. Creating access tokens requires the `environment:roles:manage-settings` permission.
|
|
1497
1499
|
*
|
|
1500
|
+
* @deprecated
|
|
1501
|
+
*
|
|
1498
1502
|
* @returns {Promise<ApiTokenCreated>} Success. The token has been created. The body of the response contains the token secret.
|
|
1499
1503
|
*
|
|
1500
1504
|
* @example <caption>Code example</caption>
|
|
@@ -1669,6 +1673,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
1669
1673
|
* + environment:roles:viewer
|
|
1670
1674
|
* + api-tokens:tokens:read
|
|
1671
1675
|
*
|
|
1676
|
+
*
|
|
1677
|
+
*
|
|
1678
|
+
* @deprecated
|
|
1679
|
+
*
|
|
1672
1680
|
* @returns {Promise<ApiToken>} Success
|
|
1673
1681
|
*
|
|
1674
1682
|
* @example <caption>Code example</caption>
|
|
@@ -1834,6 +1842,8 @@ var AccessTokensApiTokensClient = class {
|
|
|
1834
1842
|
*
|
|
1835
1843
|
* <br/><br/>The token secret is **not** exposed.
|
|
1836
1844
|
*
|
|
1845
|
+
* @deprecated
|
|
1846
|
+
*
|
|
1837
1847
|
* @returns {Promise<ApiToken>} Success
|
|
1838
1848
|
*
|
|
1839
1849
|
* @example <caption>Code example</caption>
|
|
@@ -2011,6 +2021,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
2011
2021
|
* + environment:roles:viewer
|
|
2012
2022
|
* + api-tokens:tokens:write
|
|
2013
2023
|
*
|
|
2024
|
+
*
|
|
2025
|
+
*
|
|
2026
|
+
* @deprecated
|
|
2027
|
+
*
|
|
2014
2028
|
* @example <caption>Code example</caption>
|
|
2015
2029
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
2016
2030
|
*
|
|
@@ -2171,6 +2185,10 @@ var AccessTokensApiTokensClient = class {
|
|
|
2171
2185
|
* + environment:roles:viewer
|
|
2172
2186
|
* + api-tokens:tokens:write
|
|
2173
2187
|
*
|
|
2188
|
+
*
|
|
2189
|
+
*
|
|
2190
|
+
* @deprecated
|
|
2191
|
+
*
|
|
2174
2192
|
* @example <caption>Code example</caption>
|
|
2175
2193
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
2176
2194
|
*
|
|
@@ -33534,14 +33552,18 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33534
33552
|
*
|
|
33535
33553
|
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
33536
33554
|
*
|
|
33537
|
-
* @returns {Promise<SyntheticConfigDto>} Success. The set of synthetic related parameters has been updated. Response doesn't have a body.
|
|
33538
|
-
*
|
|
33539
33555
|
* @example <caption>Code example</caption>
|
|
33540
33556
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
33541
33557
|
*
|
|
33542
33558
|
* const data =
|
|
33543
33559
|
* await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
|
|
33544
|
-
* {
|
|
33560
|
+
* {
|
|
33561
|
+
* body: {
|
|
33562
|
+
* bmMonitorTimeout: 10,
|
|
33563
|
+
* bmStepTimeout: 10,
|
|
33564
|
+
* maintenanceWindowsExcludedFromAvailability: false,
|
|
33565
|
+
* },
|
|
33566
|
+
* },
|
|
33545
33567
|
* );
|
|
33546
33568
|
*
|
|
33547
33569
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
@@ -33555,35 +33577,22 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33555
33577
|
}
|
|
33556
33578
|
const encodedBody = this.shouldTransformDates ? transformRequest(config.body, []) : config.body;
|
|
33557
33579
|
try {
|
|
33558
|
-
|
|
33580
|
+
await this.httpClient.send({
|
|
33559
33581
|
url: `/platform/classic/environment-api/v2/synthetic/config`,
|
|
33560
33582
|
method: "PUT",
|
|
33561
33583
|
requestBodyType: "json",
|
|
33562
33584
|
body: encodedBody,
|
|
33563
33585
|
headers: {
|
|
33564
|
-
"Content-Type": "application/json; charset=utf-8"
|
|
33565
|
-
Accept: "application/json; charset=utf-8, application/json"
|
|
33586
|
+
"Content-Type": "application/json; charset=utf-8"
|
|
33566
33587
|
},
|
|
33567
33588
|
abortSignal: config instanceof EventTarget ? config : config.abortSignal,
|
|
33568
33589
|
statusValidator: (status) => {
|
|
33569
33590
|
return [204].includes(status);
|
|
33570
33591
|
}
|
|
33571
33592
|
});
|
|
33572
|
-
|
|
33573
|
-
try {
|
|
33574
|
-
return this.shouldTransformDates ? transformResponse(responseValue, []) : responseValue;
|
|
33575
|
-
} catch (err) {
|
|
33576
|
-
throw new InvalidResponseError39(
|
|
33577
|
-
`SyntheticLocationsNodesAndConfigurationClient.updateConfiguration:204`,
|
|
33578
|
-
err,
|
|
33579
|
-
responseValue,
|
|
33580
|
-
void 0,
|
|
33581
|
-
void 0,
|
|
33582
|
-
response
|
|
33583
|
-
);
|
|
33584
|
-
}
|
|
33593
|
+
return;
|
|
33585
33594
|
} catch (e) {
|
|
33586
|
-
if (isHttpClientAbortError39(e)
|
|
33595
|
+
if (isHttpClientAbortError39(e)) {
|
|
33587
33596
|
throw e;
|
|
33588
33597
|
}
|
|
33589
33598
|
if (!isHttpClientResponseError39(e)) {
|
|
@@ -33817,7 +33826,6 @@ var SyntheticLocationsNodesAndConfigurationClient = class {
|
|
|
33817
33826
|
* latitude: 10,
|
|
33818
33827
|
* longitude: 10,
|
|
33819
33828
|
* name: "...",
|
|
33820
|
-
* nodes: ["..."],
|
|
33821
33829
|
* type: "CLUSTER",
|
|
33822
33830
|
* },
|
|
33823
33831
|
* },
|
|
@@ -38920,6 +38928,7 @@ var MetricDescriptorAggregationTypesItem = /* @__PURE__ */ ((MetricDescriptorAgg
|
|
|
38920
38928
|
// packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.ts
|
|
38921
38929
|
var MetricDescriptorTransformationsItem = /* @__PURE__ */ ((MetricDescriptorTransformationsItem2) => {
|
|
38922
38930
|
MetricDescriptorTransformationsItem2["AsGauge"] = "asGauge";
|
|
38931
|
+
MetricDescriptorTransformationsItem2["AsHistogram"] = "asHistogram";
|
|
38923
38932
|
MetricDescriptorTransformationsItem2["Default"] = "default";
|
|
38924
38933
|
MetricDescriptorTransformationsItem2["Delta"] = "delta";
|
|
38925
38934
|
MetricDescriptorTransformationsItem2["EvaluateModel"] = "evaluateModel";
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -356,7 +356,7 @@ export declare class AccessTokensAgentTokensClient {
|
|
|
356
356
|
export declare const accessTokensAgentTokensClient: AccessTokensAgentTokensClient;
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
* Manage Dynatrace API tokens
|
|
359
|
+
* Manage Dynatrace API tokens - Deprecated in SaaS, use [platform tokens](https://dt-url.net/platform-tokens) in Account Management instead
|
|
360
360
|
*/
|
|
361
361
|
export declare class AccessTokensApiTokensClient {
|
|
362
362
|
private httpClient;
|
|
@@ -383,6 +383,8 @@ export declare class AccessTokensApiTokensClient {
|
|
|
383
383
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
384
384
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
385
385
|
*
|
|
386
|
+
* @deprecated
|
|
387
|
+
*
|
|
386
388
|
* @returns {Promise<ApiTokenList>} Success
|
|
387
389
|
*
|
|
388
390
|
* @example <caption>Code example</caption>
|
|
@@ -522,6 +524,8 @@ export declare class AccessTokensApiTokensClient {
|
|
|
522
524
|
*
|
|
523
525
|
* Creating personal access tokens requires the `environment:roles:viewer` permission. Creating access tokens requires the `environment:roles:manage-settings` permission.
|
|
524
526
|
*
|
|
527
|
+
* @deprecated
|
|
528
|
+
*
|
|
525
529
|
* @returns {Promise<ApiTokenCreated>} Success. The token has been created. The body of the response contains the token secret.
|
|
526
530
|
*
|
|
527
531
|
* @example <caption>Code example</caption>
|
|
@@ -552,6 +556,10 @@ export declare class AccessTokensApiTokensClient {
|
|
|
552
556
|
* + environment:roles:viewer
|
|
553
557
|
* + api-tokens:tokens:read
|
|
554
558
|
*
|
|
559
|
+
*
|
|
560
|
+
*
|
|
561
|
+
* @deprecated
|
|
562
|
+
*
|
|
555
563
|
* @returns {Promise<ApiToken>} Success
|
|
556
564
|
*
|
|
557
565
|
* @example <caption>Code example</caption>
|
|
@@ -587,6 +595,8 @@ export declare class AccessTokensApiTokensClient {
|
|
|
587
595
|
*
|
|
588
596
|
* <br/><br/>The token secret is **not** exposed.
|
|
589
597
|
*
|
|
598
|
+
* @deprecated
|
|
599
|
+
*
|
|
590
600
|
* @returns {Promise<ApiToken>} Success
|
|
591
601
|
*
|
|
592
602
|
* @example <caption>Code example</caption>
|
|
@@ -616,6 +626,10 @@ export declare class AccessTokensApiTokensClient {
|
|
|
616
626
|
* + environment:roles:viewer
|
|
617
627
|
* + api-tokens:tokens:write
|
|
618
628
|
*
|
|
629
|
+
*
|
|
630
|
+
*
|
|
631
|
+
* @deprecated
|
|
632
|
+
*
|
|
619
633
|
* @example <caption>Code example</caption>
|
|
620
634
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
621
635
|
*
|
|
@@ -650,6 +664,10 @@ export declare class AccessTokensApiTokensClient {
|
|
|
650
664
|
* + environment:roles:viewer
|
|
651
665
|
* + api-tokens:tokens:write
|
|
652
666
|
*
|
|
667
|
+
*
|
|
668
|
+
*
|
|
669
|
+
* @deprecated
|
|
670
|
+
*
|
|
653
671
|
* @example <caption>Code example</caption>
|
|
654
672
|
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
655
673
|
*
|
|
@@ -12136,7 +12154,7 @@ export declare interface MetricDescriptor {
|
|
|
12136
12154
|
/**
|
|
12137
12155
|
* Transform operators that could be appended to the current transformation list.
|
|
12138
12156
|
*/
|
|
12139
|
-
transformations?: Array<'asGauge' | 'default' | 'delta' | 'evaluateModel' | 'filter' | 'fold' | 'histogram' | 'last' | 'lastReal' | 'limit' | 'merge' | 'names' | 'parents' | 'partition' | 'rate' | 'rollup' | 'setUnit' | 'smooth' | 'sort' | 'splitBy' | 'timeshift' | 'toUnit'>;
|
|
12157
|
+
transformations?: Array<'asGauge' | 'asHistogram' | 'default' | 'delta' | 'evaluateModel' | 'filter' | 'fold' | 'histogram' | 'last' | 'lastReal' | 'limit' | 'merge' | 'names' | 'parents' | 'partition' | 'rate' | 'rollup' | 'setUnit' | 'smooth' | 'sort' | 'splitBy' | 'timeshift' | 'toUnit'>;
|
|
12140
12158
|
/**
|
|
12141
12159
|
* The unit of the metric.
|
|
12142
12160
|
*/
|
|
@@ -12203,6 +12221,7 @@ export declare interface MetricDescriptorCollection {
|
|
|
12203
12221
|
*/
|
|
12204
12222
|
export declare enum MetricDescriptorTransformationsItem {
|
|
12205
12223
|
AsGauge = "asGauge",
|
|
12224
|
+
AsHistogram = "asHistogram",
|
|
12206
12225
|
Default = "default",
|
|
12207
12226
|
Delta = "delta",
|
|
12208
12227
|
EvaluateModel = "evaluateModel",
|
|
@@ -15659,7 +15678,7 @@ export declare interface PrivateSyntheticLocation {
|
|
|
15659
15678
|
*
|
|
15660
15679
|
* You can retrieve the list of available nodes with the [GET all nodes](https://dt-url.net/miy3rpl) call.
|
|
15661
15680
|
*/
|
|
15662
|
-
nodes
|
|
15681
|
+
nodes?: string[];
|
|
15663
15682
|
/**
|
|
15664
15683
|
* The region code of the location.
|
|
15665
15684
|
*
|
|
@@ -16033,7 +16052,7 @@ export declare class ProblemsClient {
|
|
|
16033
16052
|
* * Impact level: `impactLevel("level-11","level-2")` Find the possible values in the description of the **impactLevel** field of the response.
|
|
16034
16053
|
* * Root cause entity: `rootCauseEntity("id-1", "id-2")`.
|
|
16035
16054
|
* * Management zone ID: `managementZoneIds("mZId-1", "mzId-2")`.
|
|
16036
|
-
* * Management zone name: `managementZones("value-1","value-2")`.
|
|
16055
|
+
* * Management zone name (contains, case-insensitive): `managementZones("value-1","value-2")`.
|
|
16037
16056
|
* * Impacted entities: `impactedEntities("id-1", "id-2")`.
|
|
16038
16057
|
* * Affected entities: `affectedEntities("id-1", "id-2")`.
|
|
16039
16058
|
* * Type of affected entities: `affectedEntityTypes("value-1","value-2")`.
|
|
@@ -22842,6 +22861,10 @@ export declare interface SyntheticBrowserMonitorConfigurationDto {
|
|
|
22842
22861
|
* JavaScript Agent Settings.
|
|
22843
22862
|
*/
|
|
22844
22863
|
javaScriptSettings?: JavaScriptAgentSettingsDto;
|
|
22864
|
+
/**
|
|
22865
|
+
* Capture performance metrics for pages loaded in cross origin frames. If not defined in request, it will fall back to monitorFrames by default.
|
|
22866
|
+
*/
|
|
22867
|
+
monitorCrossOriginFrames?: boolean;
|
|
22845
22868
|
/**
|
|
22846
22869
|
* Capture performance metrics for pages loaded in frames. If not defined in request, it will be set to false by default.
|
|
22847
22870
|
*/
|
|
@@ -23101,6 +23124,10 @@ export declare interface SyntheticConfigDto {
|
|
|
23101
23124
|
* @minimum 10000
|
|
23102
23125
|
*/
|
|
23103
23126
|
bmStepTimeout: number;
|
|
23127
|
+
/**
|
|
23128
|
+
* maintenanceWindowsExcludedFromAvailability - exclude periods with maintenance windows from availability calculation
|
|
23129
|
+
*/
|
|
23130
|
+
maintenanceWindowsExcludedFromAvailability: boolean;
|
|
23104
23131
|
}
|
|
23105
23132
|
|
|
23106
23133
|
/**
|
|
@@ -23621,14 +23648,18 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
23621
23648
|
*
|
|
23622
23649
|
* **Required scope:** environment-api:synthetic:write<br/>**Required permission:** environment:roles:manage-settings
|
|
23623
23650
|
*
|
|
23624
|
-
* @returns {Promise<SyntheticConfigDto>} Success. The set of synthetic related parameters has been updated. Response doesn't have a body.
|
|
23625
|
-
*
|
|
23626
23651
|
* @example <caption>Code example</caption>
|
|
23627
23652
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23628
23653
|
*
|
|
23629
23654
|
* const data =
|
|
23630
23655
|
* await syntheticLocationsNodesAndConfigurationClient.updateConfiguration(
|
|
23631
|
-
* {
|
|
23656
|
+
* {
|
|
23657
|
+
* body: {
|
|
23658
|
+
* bmMonitorTimeout: 10,
|
|
23659
|
+
* bmStepTimeout: 10,
|
|
23660
|
+
* maintenanceWindowsExcludedFromAvailability: false,
|
|
23661
|
+
* },
|
|
23662
|
+
* },
|
|
23632
23663
|
* );
|
|
23633
23664
|
*
|
|
23634
23665
|
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
@@ -23639,7 +23670,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
23639
23670
|
updateConfiguration(config: {
|
|
23640
23671
|
body: SyntheticConfigDto;
|
|
23641
23672
|
abortSignal?: AbortSignal_2;
|
|
23642
|
-
}): Promise<
|
|
23673
|
+
}): Promise<void>;
|
|
23643
23674
|
/**
|
|
23644
23675
|
* Lists all synthetic locations (both public and private) available for your environment
|
|
23645
23676
|
*
|
|
@@ -23681,7 +23712,6 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
23681
23712
|
* latitude: 10,
|
|
23682
23713
|
* longitude: 10,
|
|
23683
23714
|
* name: "...",
|
|
23684
|
-
* nodes: ["..."],
|
|
23685
23715
|
* type: "CLUSTER",
|
|
23686
23716
|
* },
|
|
23687
23717
|
* },
|
|
@@ -24980,7 +25010,7 @@ export declare interface SyntheticOnDemandExecutions {
|
|
|
24980
25010
|
/**
|
|
24981
25011
|
* The list of executions.
|
|
24982
25012
|
*/
|
|
24983
|
-
executions
|
|
25013
|
+
executions?: SyntheticOnDemandExecution[];
|
|
24984
25014
|
}
|
|
24985
25015
|
|
|
24986
25016
|
/**
|
|
@@ -26384,7 +26414,7 @@ export declare interface UserPasswordCredentials extends Credentials {
|
|
|
26384
26414
|
*/
|
|
26385
26415
|
password?: string;
|
|
26386
26416
|
/**
|
|
26387
|
-
* The username of the credentials set.
|
|
26417
|
+
* The username of the credentials set. Must not contain any ":" character.
|
|
26388
26418
|
*/
|
|
26389
26419
|
user?: string;
|
|
26390
26420
|
}
|