@dynatrace-sdk/client-classic-environment-v2 8.0.0 → 9.0.1

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/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: string[];
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
- * { body: { bmMonitorTimeout: 10, bmStepTimeout: 10 } },
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<SyntheticConfigDto>;
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: SyntheticOnDemandExecution[];
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
  }