@dynatrace-sdk/client-classic-environment-v2 1.3.0 → 1.4.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 +18 -0
- package/README.md +1 -1
- package/cjs/index.js +3187 -2920
- package/docs/DOCS.md +393 -188
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +3187 -2920
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +91 -23
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +18 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +36 -14
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +29 -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-http-monitor-executions-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +7 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.transformation.d.ts +5 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group-info-dto.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group-info-dto.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups-info-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups-info-dto.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-info-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-info-dto.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-certificate-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-username-password-response-element.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +16 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/main-event.transformation.d.ts +7 -0
- 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-states.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link-update.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tracking-link.transformation.d.ts +9 -0
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +4 -1
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +2 -0
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +3 -0
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element-scopes-item.transformation.d.ts +0 -4
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ export declare class AccessTokensActiveGateTokensClient {
|
|
|
11
11
|
/**
|
|
12
12
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a AccessTokensActiveGateTokensClient. Custom http client should implement {HttpClient} interface.
|
|
13
13
|
* @example
|
|
14
|
-
* const
|
|
14
|
+
* const accessTokensActiveGateTokensClientNodeJs = new AccessTokensActiveGateTokensClient(yourCustomImplementation);
|
|
15
15
|
*/
|
|
16
16
|
constructor(httpClientImplementation: HttpClient);
|
|
17
17
|
/**
|
package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class AccessTokensApiTokensClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a AccessTokensApiTokensClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const accessTokensApiTokensClientNodeJs = new AccessTokensApiTokensClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class AccessTokensTenantTokensClient {
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a AccessTokensTenantTokensClient. Custom http client should implement {HttpClient} interface.
|
|
10
10
|
* @example
|
|
11
|
-
* const
|
|
11
|
+
* const accessTokensTenantTokensClientNodeJs = new AccessTokensTenantTokensClient(yourCustomImplementation);
|
|
12
12
|
*/
|
|
13
13
|
constructor(httpClientImplementation: HttpClient);
|
|
14
14
|
/**
|
|
@@ -18,7 +18,7 @@ export declare class ActiveGatesClient {
|
|
|
18
18
|
/**
|
|
19
19
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ActiveGatesClient. Custom http client should implement {HttpClient} interface.
|
|
20
20
|
* @example
|
|
21
|
-
* const
|
|
21
|
+
* const activeGatesClientNodeJs = new ActiveGatesClient(yourCustomImplementation);
|
|
22
22
|
*/
|
|
23
23
|
constructor(httpClientImplementation: HttpClient);
|
|
24
24
|
/**
|
|
@@ -9,7 +9,7 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
9
9
|
/**
|
|
10
10
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ActiveGatesAutoUpdateConfigurationClient. Custom http client should implement {HttpClient} interface.
|
|
11
11
|
* @example
|
|
12
|
-
* const
|
|
12
|
+
* const activeGatesAutoUpdateConfigurationClientNodeJs = new ActiveGatesAutoUpdateConfigurationClient(yourCustomImplementation);
|
|
13
13
|
*/
|
|
14
14
|
constructor(httpClientImplementation: HttpClient);
|
|
15
15
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
16
16
|
/**
|
|
17
17
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ActiveGatesAutoUpdateJobsClient. Custom http client should implement {HttpClient} interface.
|
|
18
18
|
* @example
|
|
19
|
-
* const
|
|
19
|
+
* const activeGatesAutoUpdateJobsClientNodeJs = new ActiveGatesAutoUpdateJobsClient(yourCustomImplementation);
|
|
20
20
|
*/
|
|
21
21
|
constructor(httpClientImplementation: HttpClient);
|
|
22
22
|
/**
|
|
@@ -9,7 +9,7 @@ export declare class AuditLogsClient {
|
|
|
9
9
|
/**
|
|
10
10
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a AuditLogsClient. Custom http client should implement {HttpClient} interface.
|
|
11
11
|
* @example
|
|
12
|
-
* const
|
|
12
|
+
* const auditLogsClientNodeJs = new AuditLogsClient(yourCustomImplementation);
|
|
13
13
|
*/
|
|
14
14
|
constructor(httpClientImplementation: HttpClient);
|
|
15
15
|
/**
|
|
@@ -6,13 +6,13 @@ export declare class BusinessEventsClient {
|
|
|
6
6
|
/**
|
|
7
7
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a BusinessEventsClient. Custom http client should implement {HttpClient} interface.
|
|
8
8
|
* @example
|
|
9
|
-
* const
|
|
9
|
+
* const businessEventsClientNodeJs = new BusinessEventsClient(yourCustomImplementation);
|
|
10
10
|
*/
|
|
11
11
|
constructor(httpClientImplementation: HttpClient);
|
|
12
12
|
/**
|
|
13
13
|
* Ingests a business event
|
|
14
14
|
*
|
|
15
|
-
* **Required scope:** storage:events:write<br/>**Required permission:** storage:events:write<br/><br/>The ingestion of business events
|
|
15
|
+
* **Required scope:** storage:events:write<br/>**Required permission:** storage:events:write<br/><br/>The ingestion of business events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
|
|
16
16
|
*
|
|
17
17
|
* @returns The provided business events are all accepted and will be processed.
|
|
18
18
|
*
|
|
@@ -6,18 +6,18 @@ import { CredentialsList } from '../models/credentials-list';
|
|
|
6
6
|
import { CredentialsResponseElement } from '../models/credentials-response-element';
|
|
7
7
|
import { ListCredentialsQueryType } from '../models/list-credentials-query-type';
|
|
8
8
|
/**
|
|
9
|
-
* Manage credentials
|
|
9
|
+
* Manage credentials
|
|
10
10
|
*/
|
|
11
11
|
export declare class CredentialVaultClient {
|
|
12
12
|
private httpClient;
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a CredentialVaultClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const credentialVaultClientNodeJs = new CredentialVaultClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
20
|
-
* Lists all sets of credentials
|
|
20
|
+
* Lists all sets of credentials in your environment.
|
|
21
21
|
*
|
|
22
22
|
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set itself (username/certificate and password) is not included in the response.
|
|
23
23
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class DavisSecurityAdvisorClient {
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a DavisSecurityAdvisorClient. Custom http client should implement {HttpClient} interface.
|
|
10
10
|
* @example
|
|
11
|
-
* const
|
|
11
|
+
* const davisSecurityAdvisorClientNodeJs = new DavisSecurityAdvisorClient(yourCustomImplementation);
|
|
12
12
|
*/
|
|
13
13
|
constructor(httpClientImplementation: HttpClient);
|
|
14
14
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class EventsClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a EventsClient. Custom http client should implement {HttpClient} interface.
|
|
17
17
|
* @example
|
|
18
|
-
* const
|
|
18
|
+
* const eventsClientNodeJs = new EventsClient(yourCustomImplementation);
|
|
19
19
|
*/
|
|
20
20
|
constructor(httpClientImplementation: HttpClient);
|
|
21
21
|
/**
|
|
@@ -241,7 +241,7 @@ export declare class EventsClient {
|
|
|
241
241
|
* + environment:roles:viewer
|
|
242
242
|
* + storage:events:write
|
|
243
243
|
*
|
|
244
|
-
* <br/><br/>The ingestion of custom events
|
|
244
|
+
* <br/><br/>The ingestion of custom events is subject to licensing (see [licensing documentation](https://www.dynatrace.com/support/help/shortlink/dps-events)).
|
|
245
245
|
*
|
|
246
246
|
* @returns The event ingest request was received by the server. The response body indicates for each event whether its creation was successful.
|
|
247
247
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { ActiveGateGroupsInfoDto } from '../models/active-gate-groups-info-dto';
|
|
2
3
|
import { ErrorEnvelope } from '../models/error-envelope';
|
|
3
4
|
import { Extension } from '../models/extension';
|
|
4
5
|
import { ExtensionAssetsDto } from '../models/extension-assets-dto';
|
|
@@ -26,13 +27,15 @@ export declare class Extensions_2_0Client {
|
|
|
26
27
|
/**
|
|
27
28
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a Extensions_2_0Client. Custom http client should implement {HttpClient} interface.
|
|
28
29
|
* @example
|
|
29
|
-
* const
|
|
30
|
+
* const extensions_2_0ClientNodeJs = new Extensions_2_0Client(yourCustomImplementation);
|
|
30
31
|
*/
|
|
31
32
|
constructor(httpClientImplementation: HttpClient);
|
|
32
33
|
/**
|
|
33
34
|
* Lists all the extensions 2.0 available in your environment
|
|
34
35
|
*
|
|
35
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
36
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
37
|
+
* + environment:roles:manage-settings
|
|
38
|
+
* + extensions:definitions:read
|
|
36
39
|
*
|
|
37
40
|
* @returns Success
|
|
38
41
|
*
|
|
@@ -62,7 +65,9 @@ export declare class Extensions_2_0Client {
|
|
|
62
65
|
/**
|
|
63
66
|
* Uploads or verifies a new extension 2.0
|
|
64
67
|
*
|
|
65
|
-
* **Required scope:** environment-api:extensions:write<br/>**
|
|
68
|
+
* **Required scope:** environment-api:extensions:write<br/>**One of the following permissions is required:**
|
|
69
|
+
* + environment:roles:manage-settings
|
|
70
|
+
* + extensions:definitions:write
|
|
66
71
|
*
|
|
67
72
|
* @returns The extension is valid | Success. The extension 2.0 has been uploaded.
|
|
68
73
|
*
|
|
@@ -83,7 +88,9 @@ export declare class Extensions_2_0Client {
|
|
|
83
88
|
/**
|
|
84
89
|
* Lists all the extension 2.0 schemas versions available in your environment
|
|
85
90
|
*
|
|
86
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
91
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
92
|
+
* + environment:roles:manage-settings
|
|
93
|
+
* + extensions:definitions:read
|
|
87
94
|
*
|
|
88
95
|
* @returns Success
|
|
89
96
|
*
|
|
@@ -96,7 +103,9 @@ export declare class Extensions_2_0Client {
|
|
|
96
103
|
/**
|
|
97
104
|
* Lists all the files available for the specified extension 2.0 schema version
|
|
98
105
|
*
|
|
99
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
106
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
107
|
+
* + environment:roles:manage-settings
|
|
108
|
+
* + extensions:definitions:read
|
|
100
109
|
*
|
|
101
110
|
* @returns Success
|
|
102
111
|
*
|
|
@@ -116,7 +125,9 @@ export declare class Extensions_2_0Client {
|
|
|
116
125
|
/**
|
|
117
126
|
* Gets the extension 2.0 schema file in the specified version
|
|
118
127
|
*
|
|
119
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
128
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
129
|
+
* + environment:roles:manage-settings
|
|
130
|
+
* + extensions:definitions:read
|
|
120
131
|
*
|
|
121
132
|
* @returns Success
|
|
122
133
|
*
|
|
@@ -136,7 +147,9 @@ export declare class Extensions_2_0Client {
|
|
|
136
147
|
/**
|
|
137
148
|
* Lists all versions of the extension 2.0
|
|
138
149
|
*
|
|
139
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
150
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
151
|
+
* + environment:roles:manage-settings
|
|
152
|
+
* + extensions:definitions:read
|
|
140
153
|
*
|
|
141
154
|
* @returns Success
|
|
142
155
|
*
|
|
@@ -169,7 +182,9 @@ export declare class Extensions_2_0Client {
|
|
|
169
182
|
/**
|
|
170
183
|
* Gets the active environment configuration version of the specified extension 2.0
|
|
171
184
|
*
|
|
172
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
185
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
186
|
+
* + environment:roles:manage-settings
|
|
187
|
+
* + extensions:definitions:read
|
|
173
188
|
*
|
|
174
189
|
* @returns Success
|
|
175
190
|
*
|
|
@@ -188,7 +203,9 @@ export declare class Extensions_2_0Client {
|
|
|
188
203
|
/**
|
|
189
204
|
* Updates the active environment configuration version of the extension 2.0
|
|
190
205
|
*
|
|
191
|
-
* **Required scope:** environment-api:extensions:write<br/>**
|
|
206
|
+
* **Required scope:** environment-api:extensions:write<br/>**One of the following permissions is required:**
|
|
207
|
+
* + environment:roles:manage-settings
|
|
208
|
+
* + extensions:definitions:write
|
|
192
209
|
*
|
|
193
210
|
* @returns Success. Environment configuration updated.
|
|
194
211
|
*
|
|
@@ -208,7 +225,9 @@ export declare class Extensions_2_0Client {
|
|
|
208
225
|
/**
|
|
209
226
|
* Activates the environment configuration from the specified version of the extension 2.0
|
|
210
227
|
*
|
|
211
|
-
* **Required scope:** environment-api:extensions:write<br/>**
|
|
228
|
+
* **Required scope:** environment-api:extensions:write<br/>**One of the following permissions is required:**
|
|
229
|
+
* + environment:roles:manage-settings
|
|
230
|
+
* + extensions:definitions:write
|
|
212
231
|
*
|
|
213
232
|
* @returns Success. Environment configuration created.
|
|
214
233
|
*
|
|
@@ -228,7 +247,9 @@ export declare class Extensions_2_0Client {
|
|
|
228
247
|
/**
|
|
229
248
|
* Deactivates the environment configuration of the specified extension 2.0
|
|
230
249
|
*
|
|
231
|
-
* **Required scope:** environment-api:extensions:write<br/>**
|
|
250
|
+
* **Required scope:** environment-api:extensions:write<br/>**One of the following permissions is required:**
|
|
251
|
+
* + environment:roles:manage-settings
|
|
252
|
+
* + extensions:definitions:write
|
|
232
253
|
*
|
|
233
254
|
* @returns Success. Environment configuration deactivated.
|
|
234
255
|
*
|
|
@@ -247,7 +268,9 @@ export declare class Extensions_2_0Client {
|
|
|
247
268
|
/**
|
|
248
269
|
* Gets the information about assets in an active extension 2.0
|
|
249
270
|
*
|
|
250
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
271
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
272
|
+
* + environment:roles:manage-settings
|
|
273
|
+
* + extensions:definitions:read
|
|
251
274
|
*
|
|
252
275
|
* @returns Success
|
|
253
276
|
*
|
|
@@ -266,7 +289,11 @@ export declare class Extensions_2_0Client {
|
|
|
266
289
|
/**
|
|
267
290
|
* List of the latest extension environment configuration events
|
|
268
291
|
*
|
|
269
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
292
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
293
|
+
* + environment:roles:manage-settings
|
|
294
|
+
* + extensions:definitions:read
|
|
295
|
+
*
|
|
296
|
+
*
|
|
270
297
|
*
|
|
271
298
|
* @deprecated
|
|
272
299
|
*
|
|
@@ -325,7 +352,9 @@ export declare class Extensions_2_0Client {
|
|
|
325
352
|
/**
|
|
326
353
|
* Lists all the monitoring configurations of the specified extension 2.0
|
|
327
354
|
*
|
|
328
|
-
* **Required scope:** environment-api:extension-configurations:read<br/>**
|
|
355
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
356
|
+
* + environment:roles:manage-settings
|
|
357
|
+
* + extensions:configurations:read
|
|
329
358
|
*
|
|
330
359
|
* @returns Success
|
|
331
360
|
*
|
|
@@ -360,7 +389,9 @@ export declare class Extensions_2_0Client {
|
|
|
360
389
|
/**
|
|
361
390
|
* Creates new monitoring configuration for the specified extension 2.0
|
|
362
391
|
*
|
|
363
|
-
* **Required scope:** environment-api:extension-configurations:write<br/>**
|
|
392
|
+
* **Required scope:** environment-api:extension-configurations:write<br/>**One of the following permissions is required:**
|
|
393
|
+
* + environment:roles:manage-settings
|
|
394
|
+
* + extensions:configurations:write
|
|
364
395
|
*
|
|
365
396
|
* @returns Success | Multi-Status, if not all requests resulted in the same status
|
|
366
397
|
*
|
|
@@ -386,7 +417,9 @@ export declare class Extensions_2_0Client {
|
|
|
386
417
|
/**
|
|
387
418
|
* Gets the details of the specified monitoring configuration
|
|
388
419
|
*
|
|
389
|
-
* **Required scope:** environment-api:extension-configurations:read<br/>**
|
|
420
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
421
|
+
* + environment:roles:manage-settings
|
|
422
|
+
* + extensions:configurations:read
|
|
390
423
|
*
|
|
391
424
|
* @returns Success
|
|
392
425
|
*
|
|
@@ -406,7 +439,9 @@ export declare class Extensions_2_0Client {
|
|
|
406
439
|
/**
|
|
407
440
|
* Updates the specified monitoring configuration
|
|
408
441
|
*
|
|
409
|
-
* **Required scope:** environment-api:extension-configurations:write<br/>**
|
|
442
|
+
* **Required scope:** environment-api:extension-configurations:write<br/>**One of the following permissions is required:**
|
|
443
|
+
* + environment:roles:manage-settings
|
|
444
|
+
* + extensions:configurations:write
|
|
410
445
|
*
|
|
411
446
|
* @returns Success
|
|
412
447
|
*
|
|
@@ -429,7 +464,9 @@ export declare class Extensions_2_0Client {
|
|
|
429
464
|
/**
|
|
430
465
|
* Deletes the specified monitoring configuration
|
|
431
466
|
*
|
|
432
|
-
* **Required scope:** environment-api:extension-configurations:write<br/>**
|
|
467
|
+
* **Required scope:** environment-api:extension-configurations:write<br/>**One of the following permissions is required:**
|
|
468
|
+
* + environment:roles:manage-settings
|
|
469
|
+
* + extensions:configurations:write
|
|
433
470
|
*
|
|
434
471
|
* @example <caption>Code example</caption>
|
|
435
472
|
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -448,7 +485,11 @@ export declare class Extensions_2_0Client {
|
|
|
448
485
|
/**
|
|
449
486
|
* Gets the list of the events linked to specific monitoring configuration
|
|
450
487
|
*
|
|
451
|
-
* **Required scope:** environment-api:extension-configurations:read<br/>**
|
|
488
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
489
|
+
* + environment:roles:manage-settings
|
|
490
|
+
* + extensions:configurations:read
|
|
491
|
+
*
|
|
492
|
+
*
|
|
452
493
|
*
|
|
453
494
|
* @deprecated
|
|
454
495
|
*
|
|
@@ -523,7 +564,9 @@ export declare class Extensions_2_0Client {
|
|
|
523
564
|
/**
|
|
524
565
|
* Gets the most recent status of the execution of given monitoring configuration
|
|
525
566
|
*
|
|
526
|
-
* **Required scope:** environment-api:extension-configurations:read<br/>**
|
|
567
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
568
|
+
* + environment:roles:manage-settings
|
|
569
|
+
* + extensions:configurations:read
|
|
527
570
|
*
|
|
528
571
|
* @returns Success
|
|
529
572
|
*
|
|
@@ -543,7 +586,9 @@ export declare class Extensions_2_0Client {
|
|
|
543
586
|
/**
|
|
544
587
|
* Gets details of the specified version of the extension 2.0
|
|
545
588
|
*
|
|
546
|
-
* **Required scope:** environment-api:extensions:read<br/>**
|
|
589
|
+
* **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
|
|
590
|
+
* + environment:roles:manage-settings
|
|
591
|
+
* + extensions:definitions:read
|
|
547
592
|
*
|
|
548
593
|
* @returns Success
|
|
549
594
|
*
|
|
@@ -565,7 +610,9 @@ export declare class Extensions_2_0Client {
|
|
|
565
610
|
/**
|
|
566
611
|
* Deletes the specified version of the extension 2.0
|
|
567
612
|
*
|
|
568
|
-
* **Required scope:** environment-api:extensions:write<br/>**
|
|
613
|
+
* **Required scope:** environment-api:extensions:write<br/>**One of the following permissions is required:**
|
|
614
|
+
* + environment:roles:manage-settings
|
|
615
|
+
* + extensions:definitions:write
|
|
569
616
|
*
|
|
570
617
|
* @returns Success. The extension 2.0 version has been deleted.
|
|
571
618
|
*
|
|
@@ -582,10 +629,31 @@ export declare class Extensions_2_0Client {
|
|
|
582
629
|
/** The version of the requested extension 2.0 */ extensionVersion: string;
|
|
583
630
|
abortSignal?: AbortSignal;
|
|
584
631
|
}): Promise<Extension>;
|
|
632
|
+
/**
|
|
633
|
+
* List all ActiveGate groups available for extension | maturity=IN_DEVELOPMENT
|
|
634
|
+
*
|
|
635
|
+
* @returns Success
|
|
636
|
+
*
|
|
637
|
+
* @example <caption>Code example</caption>
|
|
638
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
639
|
+
*
|
|
640
|
+
* const data =
|
|
641
|
+
* await extensions_2_0Client.getActiveGateGroupsInfo({
|
|
642
|
+
* extensionName: "...",
|
|
643
|
+
* extensionVersion: "...",
|
|
644
|
+
* });
|
|
645
|
+
*/
|
|
646
|
+
getActiveGateGroupsInfo(config: {
|
|
647
|
+
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
648
|
+
/** The version of the requested extension 2.0 */ extensionVersion: string;
|
|
649
|
+
abortSignal?: AbortSignal;
|
|
650
|
+
}): Promise<ActiveGateGroupsInfoDto>;
|
|
585
651
|
/**
|
|
586
652
|
* Gets the configuration schema of the specified version of the extension 2.0
|
|
587
653
|
*
|
|
588
|
-
* **Required scope:** environment-api:extension-configurations:read<br/>**
|
|
654
|
+
* **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
|
|
655
|
+
* + environment:roles:manage-settings
|
|
656
|
+
* + extensions:definitions:read
|
|
589
657
|
*
|
|
590
658
|
* @returns Success
|
|
591
659
|
*
|
|
@@ -13,7 +13,7 @@ export declare class LogsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a LogsClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const logsClientNodeJs = new LogsClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
@@ -23,7 +23,7 @@ export declare class LogsClient {
|
|
|
23
23
|
*
|
|
24
24
|
* It is possible that the timeframe covered by results exceeds the specified timeframe. In that case the request returns fewer time slots than specified in the **timeBuckets** query parameter.
|
|
25
25
|
*
|
|
26
|
-
* If *Log Management and Analytics, powered by Grail* is enabled, then
|
|
26
|
+
* If *Log Management and Analytics, powered by Grail* is enabled, then a bearer OAuth token (with *storage:logs:read* and *storage:buckets:read* scopes) needs to be used for authentication.
|
|
27
27
|
*
|
|
28
28
|
* @returns Success
|
|
29
29
|
*
|
|
@@ -271,7 +271,7 @@ export declare class LogsClient {
|
|
|
271
271
|
*
|
|
272
272
|
* Results can be distributed unevenly between slices and some slices might be empty.
|
|
273
273
|
*
|
|
274
|
-
* If *Log Management and Analytics, powered by Grail* is enabled, then
|
|
274
|
+
* If *Log Management and Analytics, powered by Grail* is enabled, then a bearer OAuth token (with *storage:logs:read* and *storage:buckets:read* scopes) needs to be used for authentication.
|
|
275
275
|
*
|
|
276
276
|
* @returns Success
|
|
277
277
|
*
|
|
@@ -11,7 +11,7 @@ export declare class MetricsClient {
|
|
|
11
11
|
/**
|
|
12
12
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MetricsClient. Custom http client should implement {HttpClient} interface.
|
|
13
13
|
* @example
|
|
14
|
-
* const
|
|
14
|
+
* const metricsClientNodeJs = new MetricsClient(yourCustomImplementation);
|
|
15
15
|
*/
|
|
16
16
|
constructor(httpClientImplementation: HttpClient);
|
|
17
17
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class MetricsUnitsClient {
|
|
|
10
10
|
/**
|
|
11
11
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MetricsUnitsClient. Custom http client should implement {HttpClient} interface.
|
|
12
12
|
* @example
|
|
13
|
-
* const
|
|
13
|
+
* const metricsUnitsClientNodeJs = new MetricsUnitsClient(yourCustomImplementation);
|
|
14
14
|
*/
|
|
15
15
|
constructor(httpClientImplementation: HttpClient);
|
|
16
16
|
/**
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MonitoredEntitiesClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const monitoredEntitiesClientNodeJs = new MonitoredEntitiesClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
@@ -11,7 +11,7 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
11
11
|
/**
|
|
12
12
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MonitoredEntitiesCustomTagsClient. Custom http client should implement {HttpClient} interface.
|
|
13
13
|
* @example
|
|
14
|
-
* const
|
|
14
|
+
* const monitoredEntitiesCustomTagsClientNodeJs = new MonitoredEntitiesCustomTagsClient(yourCustomImplementation);
|
|
15
15
|
*/
|
|
16
16
|
constructor(httpClientImplementation: HttpClient);
|
|
17
17
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MonitoredEntitiesMonitoringStateClient. Custom http client should implement {HttpClient} interface.
|
|
10
10
|
* @example
|
|
11
|
-
* const
|
|
11
|
+
* const monitoredEntitiesMonitoringStateClientNodeJs = new MonitoredEntitiesMonitoringStateClient(yourCustomImplementation);
|
|
12
12
|
*/
|
|
13
13
|
constructor(httpClientImplementation: HttpClient);
|
|
14
14
|
/**
|
|
@@ -22,11 +22,23 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
22
22
|
* import { monitoredEntitiesMonitoringStateClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
23
|
*
|
|
24
24
|
* const data =
|
|
25
|
-
* await monitoredEntitiesMonitoringStateClient.getStates(
|
|
26
|
-
* entitySelector: "...",
|
|
27
|
-
* });
|
|
25
|
+
* await monitoredEntitiesMonitoringStateClient.getStates();
|
|
28
26
|
*/
|
|
29
|
-
getStates(config
|
|
27
|
+
getStates(config?: {
|
|
28
|
+
/**
|
|
29
|
+
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
30
|
+
*
|
|
31
|
+
* The first page is always returned if you don't specify the **nextPageKey** query parameter.
|
|
32
|
+
*
|
|
33
|
+
* When the **nextPageKey** is set to obtain subsequent pages, you must omit all other query parameters.
|
|
34
|
+
*/ nextPageKey?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The amount of monitoring states in a single response payload.
|
|
37
|
+
*
|
|
38
|
+
* The maximal allowed page size is 500.
|
|
39
|
+
*
|
|
40
|
+
* If not set, 500 is used.
|
|
41
|
+
*/ pageSize?: number;
|
|
30
42
|
/**
|
|
31
43
|
* Specifies the process group instances where you're querying the state. Use the `PROCESS_GROUP_INSTANCE` entity type.
|
|
32
44
|
*
|
|
@@ -61,7 +73,7 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
61
73
|
* To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
|
|
62
74
|
*
|
|
63
75
|
* The maximum string length is 2,000 characters.
|
|
64
|
-
*/ entitySelector
|
|
76
|
+
*/ entitySelector?: string;
|
|
65
77
|
abortSignal?: AbortSignal;
|
|
66
78
|
}): Promise<MonitoredStates>;
|
|
67
79
|
}
|
|
@@ -13,7 +13,7 @@ export declare class NetworkZonesClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a NetworkZonesClient. Custom http client should implement {HttpClient} interface.
|
|
15
15
|
* @example
|
|
16
|
-
* const
|
|
16
|
+
* const networkZonesClientNodeJs = new NetworkZonesClient(yourCustomImplementation);
|
|
17
17
|
*/
|
|
18
18
|
constructor(httpClientImplementation: HttpClient);
|
|
19
19
|
/**
|
|
@@ -14,7 +14,7 @@ export declare class ProblemsClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ProblemsClient. Custom http client should implement {HttpClient} interface.
|
|
16
16
|
* @example
|
|
17
|
-
* const
|
|
17
|
+
* const problemsClientNodeJs = new ProblemsClient(yourCustomImplementation);
|
|
18
18
|
*/
|
|
19
19
|
constructor(httpClientImplementation: HttpClient);
|
|
20
20
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class ReleasesClient {
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ReleasesClient. Custom http client should implement {HttpClient} interface.
|
|
10
10
|
* @example
|
|
11
|
-
* const
|
|
11
|
+
* const releasesClientNodeJs = new ReleasesClient(yourCustomImplementation);
|
|
12
12
|
*/
|
|
13
13
|
constructor(httpClientImplementation: HttpClient);
|
|
14
14
|
/**
|