@dynatrace-sdk/client-classic-environment-v2 0.6.8 → 0.6.11
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 +21 -0
- package/LICENSE +174 -0
- package/cjs/index.js +1098 -1027
- package/docs/DOCS.md +362 -96
- package/dynatrace-metadata.json +1 -1
- package/esm/index.js +1099 -1027
- package/package.json +3 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +5 -5
- 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 +10 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +8 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +8 -8
- 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 +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -6
- 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 +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-created.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/configuration-metadata.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +31 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +12 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +29 -29
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone-fallback-mode.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +8 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/object-node.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +21 -21
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +25 -25
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-execution-stage.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-custom-script.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status-execution-stage.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/upload-extension-body.d.ts +0 -18
|
@@ -20,7 +20,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
20
20
|
/**
|
|
21
21
|
* Triggers on-demand executions for synthetic monitors | maturity=EARLY_ADOPTER
|
|
22
22
|
*
|
|
23
|
-
* **Required scope:** environment-api:synthetic-execution:write
|
|
23
|
+
* **Required scope:** environment-api:synthetic-execution:write<br/>**Required permission:** environment:roles:viewer
|
|
24
24
|
* @returns Success. The monitor's execution response details
|
|
25
25
|
*/
|
|
26
26
|
execute(config: {
|
|
@@ -30,7 +30,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
30
30
|
/**
|
|
31
31
|
* Gets summary information and the list of failed executions for the given batch ID | maturity=EARLY_ADOPTER
|
|
32
32
|
*
|
|
33
|
-
* **Required scope:** environment-api:synthetic-execution:read
|
|
33
|
+
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
34
34
|
* @returns Success
|
|
35
35
|
*/
|
|
36
36
|
getBatch(config: {
|
|
@@ -40,7 +40,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
40
40
|
/**
|
|
41
41
|
* Gets basic results of the specified on-demand execution | maturity=EARLY_ADOPTER
|
|
42
42
|
*
|
|
43
|
-
* **Required scope:** environment-api:synthetic-execution:read
|
|
43
|
+
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
44
44
|
* @returns Success. The response contains basic information about the on-demand execution.
|
|
45
45
|
*/
|
|
46
46
|
getExecution(config: {
|
|
@@ -50,7 +50,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
50
50
|
/**
|
|
51
51
|
* Gets detailed results of the specified on-demand execution | maturity=EARLY_ADOPTER
|
|
52
52
|
*
|
|
53
|
-
* **Required scope:** environment-api:synthetic-execution:read
|
|
53
|
+
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
54
54
|
* @returns Success. The response contains detailed information about the on-demand execution.
|
|
55
55
|
*/
|
|
56
56
|
getExecutionFullReport(config: {
|
|
@@ -60,7 +60,7 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
60
60
|
/**
|
|
61
61
|
* Gets the list of all on-demand executions of synthetic monitors | maturity=EARLY_ADOPTER
|
|
62
62
|
*
|
|
63
|
-
* **Required scope:** environment-api:synthetic-execution:read
|
|
63
|
+
* **Required scope:** environment-api:synthetic-execution:read<br/>**Required permission:** environment:roles:viewer
|
|
64
64
|
* @returns Success
|
|
65
65
|
*/
|
|
66
66
|
getExecutions(config: {
|
|
@@ -12,21 +12,21 @@ export interface ActiveGateModule {
|
|
|
12
12
|
* The version of the ActiveGate module.
|
|
13
13
|
*/
|
|
14
14
|
version?: string;
|
|
15
|
+
type?: ActiveGateModuleType;
|
|
16
|
+
attributes?: ActiveGateModuleAttributes;
|
|
15
17
|
/**
|
|
16
18
|
* The module is enabled (`true`) or disabled (`false`).
|
|
17
19
|
*/
|
|
18
20
|
enabled?: boolean;
|
|
19
|
-
type?: ActiveGateModuleType;
|
|
20
|
-
attributes?: ActiveGateModuleAttributes;
|
|
21
21
|
}
|
|
22
22
|
/** @ignore */
|
|
23
23
|
export declare namespace _ActiveGateModuleTransformation {
|
|
24
24
|
interface AsJson {
|
|
25
25
|
misconfigured?: boolean;
|
|
26
26
|
version?: string;
|
|
27
|
-
enabled?: boolean;
|
|
28
27
|
type?: _ActiveGateModuleTypeTransformation.AsJson;
|
|
29
28
|
attributes?: _ActiveGateModuleAttributesTransformation.AsJson;
|
|
29
|
+
enabled?: boolean;
|
|
30
30
|
}
|
|
31
31
|
function fromJson(model: AsJson): ActiveGateModule;
|
|
32
32
|
function toJson(model: ActiveGateModule): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-created.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ActiveGateTokenCreated {
|
|
5
5
|
/**
|
|
6
|
-
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/
|
|
6
|
+
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/rn00tjg) of the token.
|
|
7
7
|
*/
|
|
8
8
|
id: string;
|
|
9
9
|
/**
|
package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface ActiveGateTokenInfoDto {
|
|
|
10
10
|
*/
|
|
11
11
|
environmentId?: string;
|
|
12
12
|
/**
|
|
13
|
-
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/
|
|
13
|
+
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/rn00tjg) of the token.
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
16
|
state?: ActiveGateTokenInfoDtoState;
|
|
@@ -4,7 +4,7 @@ import { ActiveGateTokenActiveGateType, _ActiveGateTokenActiveGateTypeTransforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ActiveGateToken {
|
|
6
6
|
/**
|
|
7
|
-
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/
|
|
7
|
+
* The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/rn00tjg) of the token.
|
|
8
8
|
*/
|
|
9
9
|
id: string;
|
|
10
10
|
/**
|
|
@@ -28,6 +28,10 @@ export interface ApiTokenCreate {
|
|
|
28
28
|
* If not set, the token never expires.
|
|
29
29
|
*/
|
|
30
30
|
expirationDate?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the token.
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
31
35
|
/**
|
|
32
36
|
* A list of the scopes to be assigned to the token.
|
|
33
37
|
*
|
|
@@ -103,18 +107,14 @@ export interface ApiTokenCreate {
|
|
|
103
107
|
* * `hub.write`: Write Hub related data.
|
|
104
108
|
*/
|
|
105
109
|
scopes: ApiTokenCreateScopesItem[];
|
|
106
|
-
/**
|
|
107
|
-
* The name of the token.
|
|
108
|
-
*/
|
|
109
|
-
name: string;
|
|
110
110
|
}
|
|
111
111
|
/** @ignore */
|
|
112
112
|
export declare namespace _ApiTokenCreateTransformation {
|
|
113
113
|
interface AsJson {
|
|
114
114
|
personalAccessToken?: boolean;
|
|
115
115
|
expirationDate?: string;
|
|
116
|
-
scopes: _ApiTokenCreateScopesItemTransformation.AsJson[];
|
|
117
116
|
name: string;
|
|
117
|
+
scopes: _ApiTokenCreateScopesItemTransformation.AsJson[];
|
|
118
118
|
}
|
|
119
119
|
function fromJson(model: AsJson): ApiTokenCreate;
|
|
120
120
|
function toJson(model: ApiTokenCreate): AsJson;
|
|
@@ -6,21 +6,21 @@ export interface ApiTokenCreated {
|
|
|
6
6
|
* The token expiration date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`).
|
|
7
7
|
*/
|
|
8
8
|
expirationDate?: string;
|
|
9
|
-
/**
|
|
10
|
-
* The secret of the token.
|
|
11
|
-
*/
|
|
12
|
-
token?: string;
|
|
13
9
|
/**
|
|
14
10
|
* The ID of the token, consisting of prefix and public part of the token.
|
|
15
11
|
*/
|
|
16
12
|
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The secret of the token.
|
|
15
|
+
*/
|
|
16
|
+
token?: string;
|
|
17
17
|
}
|
|
18
18
|
/** @ignore */
|
|
19
19
|
export declare namespace _ApiTokenCreatedTransformation {
|
|
20
20
|
interface AsJson {
|
|
21
21
|
expirationDate?: string;
|
|
22
|
-
token?: string;
|
|
23
22
|
id?: string;
|
|
23
|
+
token?: string;
|
|
24
24
|
}
|
|
25
25
|
function fromJson(model: AsJson): ApiTokenCreated;
|
|
26
26
|
function toJson(model: ApiTokenCreated): AsJson;
|
|
@@ -3,6 +3,10 @@ import { ApiTokenUpdateScopesItem, _ApiTokenUpdateScopesItemTransformation } fro
|
|
|
3
3
|
* The update of the API token.
|
|
4
4
|
*/
|
|
5
5
|
export interface ApiTokenUpdate {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the token.
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
6
10
|
/**
|
|
7
11
|
* The token is enabled (`true`) or disabled (`false`)
|
|
8
12
|
*/
|
|
@@ -84,17 +88,13 @@ export interface ApiTokenUpdate {
|
|
|
84
88
|
* * `hub.write`: Write Hub related data.
|
|
85
89
|
*/
|
|
86
90
|
scopes?: ApiTokenUpdateScopesItem[];
|
|
87
|
-
/**
|
|
88
|
-
* The name of the token.
|
|
89
|
-
*/
|
|
90
|
-
name?: string;
|
|
91
91
|
}
|
|
92
92
|
/** @ignore */
|
|
93
93
|
export declare namespace _ApiTokenUpdateTransformation {
|
|
94
94
|
interface AsJson {
|
|
95
|
+
name?: string;
|
|
95
96
|
enabled?: boolean;
|
|
96
97
|
scopes?: _ApiTokenUpdateScopesItemTransformation.AsJson[];
|
|
97
|
-
name?: string;
|
|
98
98
|
}
|
|
99
99
|
function fromJson(model: AsJson): ApiTokenUpdate;
|
|
100
100
|
function toJson(model: ApiTokenUpdate): AsJson;
|
|
@@ -13,28 +13,20 @@ export interface ApiToken {
|
|
|
13
13
|
*/
|
|
14
14
|
modifiedDate?: string;
|
|
15
15
|
additionalMetadata?: ApiTokenAdditionalMetadata;
|
|
16
|
-
/**
|
|
17
|
-
* The token is a [personal access token](https://dt-url.net/wm03sop) (`true`) or an API token (`false`).
|
|
18
|
-
*/
|
|
19
|
-
personalAccessToken?: boolean;
|
|
20
16
|
/**
|
|
21
17
|
* Token last used date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
22
18
|
*/
|
|
23
19
|
lastUsedDate?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The token is a [personal access token](https://dt-url.net/wm03sop) (`true`) or an API token (`false`).
|
|
22
|
+
*/
|
|
23
|
+
personalAccessToken?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Token expiration date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`).
|
|
26
26
|
*
|
|
27
27
|
* If not set, the token never expires.
|
|
28
28
|
*/
|
|
29
29
|
expirationDate?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The token is enabled (`true`) or disabled (`false`).
|
|
32
|
-
*/
|
|
33
|
-
enabled?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* A list of scopes assigned to the token.
|
|
36
|
-
*/
|
|
37
|
-
scopes?: ApiTokenScopesItem[];
|
|
38
30
|
/**
|
|
39
31
|
* Token creation date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
40
32
|
*/
|
|
@@ -51,6 +43,14 @@ export interface ApiToken {
|
|
|
51
43
|
* The owner of the token.
|
|
52
44
|
*/
|
|
53
45
|
owner?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The token is enabled (`true`) or disabled (`false`).
|
|
48
|
+
*/
|
|
49
|
+
enabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* A list of scopes assigned to the token.
|
|
52
|
+
*/
|
|
53
|
+
scopes?: ApiTokenScopesItem[];
|
|
54
54
|
}
|
|
55
55
|
/** @ignore */
|
|
56
56
|
export declare namespace _ApiTokenTransformation {
|
|
@@ -58,15 +58,15 @@ export declare namespace _ApiTokenTransformation {
|
|
|
58
58
|
lastUsedIpAddress?: string;
|
|
59
59
|
modifiedDate?: string;
|
|
60
60
|
additionalMetadata?: _ApiTokenAdditionalMetadataTransformation.AsJson;
|
|
61
|
-
personalAccessToken?: boolean;
|
|
62
61
|
lastUsedDate?: string;
|
|
62
|
+
personalAccessToken?: boolean;
|
|
63
63
|
expirationDate?: string;
|
|
64
|
-
enabled?: boolean;
|
|
65
|
-
scopes?: _ApiTokenScopesItemTransformation.AsJson[];
|
|
66
64
|
creationDate?: string;
|
|
67
65
|
name?: string;
|
|
68
66
|
id?: string;
|
|
69
67
|
owner?: string;
|
|
68
|
+
enabled?: boolean;
|
|
69
|
+
scopes?: _ApiTokenScopesItemTransformation.AsJson[];
|
|
70
70
|
}
|
|
71
71
|
function fromJson(model: AsJson): ApiToken;
|
|
72
72
|
function toJson(model: ApiToken): AsJson;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* The comment to a problem.
|
|
3
3
|
*/
|
|
4
4
|
export interface Comment {
|
|
5
|
-
/**
|
|
6
|
-
* The user who wrote the comment.
|
|
7
|
-
*/
|
|
8
|
-
authorName?: string;
|
|
9
5
|
/**
|
|
10
6
|
* The timestamp of comment creation, in UTC milliseconds.
|
|
11
7
|
*/
|
|
12
8
|
createdAtTimestamp: number;
|
|
9
|
+
/**
|
|
10
|
+
* The user who wrote the comment.
|
|
11
|
+
*/
|
|
12
|
+
authorName?: string;
|
|
13
13
|
/**
|
|
14
14
|
* The context of the comment.
|
|
15
15
|
*/
|
|
@@ -26,8 +26,8 @@ export interface Comment {
|
|
|
26
26
|
/** @ignore */
|
|
27
27
|
export declare namespace _CommentTransformation {
|
|
28
28
|
interface AsJson {
|
|
29
|
-
authorName?: string;
|
|
30
29
|
createdAtTimestamp: number;
|
|
30
|
+
authorName?: string;
|
|
31
31
|
context?: string;
|
|
32
32
|
id?: string;
|
|
33
33
|
content?: string;
|
|
@@ -4,21 +4,21 @@ import { ComplexConstraintType, _ComplexConstraintTypeTransformation } from './c
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ComplexConstraint {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
minimumPropertyCount?: number;
|
|
10
|
-
/**
|
|
11
|
-
* The maximum number of properties that can be set.
|
|
7
|
+
* A custom message for invalid values.
|
|
12
8
|
*/
|
|
13
|
-
|
|
9
|
+
customMessage?: string;
|
|
14
10
|
/**
|
|
15
11
|
* The ID of a custom validator.
|
|
16
12
|
*/
|
|
17
13
|
customValidatorId?: string;
|
|
18
14
|
/**
|
|
19
|
-
*
|
|
15
|
+
* The minimum number of properties that must be set.
|
|
20
16
|
*/
|
|
21
|
-
|
|
17
|
+
minimumPropertyCount?: number;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum number of properties that can be set.
|
|
20
|
+
*/
|
|
21
|
+
maximumPropertyCount?: number;
|
|
22
22
|
/**
|
|
23
23
|
* A list of properties (defined by IDs) that are used to check the constraint.
|
|
24
24
|
*/
|
|
@@ -28,10 +28,10 @@ export interface ComplexConstraint {
|
|
|
28
28
|
/** @ignore */
|
|
29
29
|
export declare namespace _ComplexConstraintTransformation {
|
|
30
30
|
interface AsJson {
|
|
31
|
+
customMessage?: string;
|
|
32
|
+
customValidatorId?: string;
|
|
31
33
|
minimumPropertyCount?: number;
|
|
32
34
|
maximumPropertyCount?: number;
|
|
33
|
-
customValidatorId?: string;
|
|
34
|
-
customMessage?: string;
|
|
35
35
|
properties?: string[];
|
|
36
36
|
type: _ComplexConstraintTypeTransformation.AsJson;
|
|
37
37
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/configuration-metadata.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Metadata useful for debugging
|
|
3
3
|
*/
|
|
4
4
|
export interface ConfigurationMetadata {
|
|
5
|
-
/**
|
|
6
|
-
* A sorted list of the version numbers of the configuration.
|
|
7
|
-
*/
|
|
8
|
-
configurationVersions?: number[];
|
|
9
5
|
/**
|
|
10
6
|
* A sorted list of version numbers of the configuration.
|
|
11
7
|
*/
|
|
12
8
|
currentConfigurationVersions?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* A sorted list of the version numbers of the configuration.
|
|
11
|
+
*/
|
|
12
|
+
configurationVersions?: number[];
|
|
13
13
|
/**
|
|
14
14
|
* Dynatrace version.
|
|
15
15
|
*/
|
|
@@ -18,8 +18,8 @@ export interface ConfigurationMetadata {
|
|
|
18
18
|
/** @ignore */
|
|
19
19
|
export declare namespace _ConfigurationMetadataTransformation {
|
|
20
20
|
interface AsJson {
|
|
21
|
-
configurationVersions?: number[];
|
|
22
21
|
currentConfigurationVersions?: string[];
|
|
22
|
+
configurationVersions?: number[];
|
|
23
23
|
clusterVersion?: string;
|
|
24
24
|
}
|
|
25
25
|
function fromJson(model: AsJson): ConfigurationMetadata;
|
|
@@ -4,17 +4,17 @@ import { ConstraintType, _ConstraintTypeTransformation } from './constraint-type
|
|
|
4
4
|
*/
|
|
5
5
|
export interface Constraint {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* A list of properties for which the combination of values must be unique.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
uniqueProperties?: string[];
|
|
10
10
|
/**
|
|
11
11
|
* A custom message for invalid values.
|
|
12
12
|
*/
|
|
13
13
|
customMessage?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The ID of a custom validator.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
customValidatorId?: string;
|
|
18
18
|
/**
|
|
19
19
|
* The maximum allowed length of string values.
|
|
20
20
|
*/
|
|
@@ -23,6 +23,7 @@ export interface Constraint {
|
|
|
23
23
|
* The minimum required length of string values.
|
|
24
24
|
*/
|
|
25
25
|
minLength?: number;
|
|
26
|
+
type: ConstraintType;
|
|
26
27
|
/**
|
|
27
28
|
* The maximum allowed value.
|
|
28
29
|
*/
|
|
@@ -35,20 +36,19 @@ export interface Constraint {
|
|
|
35
36
|
* The regular expression pattern for valid string values.
|
|
36
37
|
*/
|
|
37
38
|
pattern?: string;
|
|
38
|
-
type: ConstraintType;
|
|
39
39
|
}
|
|
40
40
|
/** @ignore */
|
|
41
41
|
export declare namespace _ConstraintTransformation {
|
|
42
42
|
interface AsJson {
|
|
43
|
-
customValidatorId?: string;
|
|
44
|
-
customMessage?: string;
|
|
45
43
|
uniqueProperties?: string[];
|
|
44
|
+
customMessage?: string;
|
|
45
|
+
customValidatorId?: string;
|
|
46
46
|
maxLength?: number;
|
|
47
47
|
minLength?: number;
|
|
48
|
+
type: _ConstraintTypeTransformation.AsJson;
|
|
48
49
|
maximum?: number;
|
|
49
50
|
minimum?: number;
|
|
50
51
|
pattern?: string;
|
|
51
|
-
type: _ConstraintTypeTransformation.AsJson;
|
|
52
52
|
}
|
|
53
53
|
function fromJson(model: AsJson): Constraint;
|
|
54
54
|
function toJson(model: Constraint): AsJson;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ExternalVaultConfig, _ExternalVaultConfigTransformation } from './external-vault-config';
|
|
2
2
|
export interface CyberArkConfig extends ExternalVaultConfig {
|
|
3
|
-
centralPolicyManagerUrl?: string;
|
|
4
3
|
certificate?: string;
|
|
5
4
|
applicationId?: string;
|
|
6
5
|
safeName?: string;
|
|
@@ -10,7 +9,6 @@ export interface CyberArkConfig extends ExternalVaultConfig {
|
|
|
10
9
|
/** @ignore */
|
|
11
10
|
export declare namespace _CyberArkConfigTransformation {
|
|
12
11
|
interface AsJson extends _ExternalVaultConfigTransformation.AsJson {
|
|
13
|
-
centralPolicyManagerUrl?: string;
|
|
14
12
|
certificate?: string;
|
|
15
13
|
applicationId?: string;
|
|
16
14
|
safeName?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ExternalVaultConfig, _ExternalVaultConfigTransformation } from './external-vault-config';
|
|
2
2
|
export interface CyberArkUsernamePasswordConfig extends ExternalVaultConfig {
|
|
3
|
-
centralPolicyManagerUrl?: string;
|
|
4
3
|
usernamePasswordForCPM?: string;
|
|
5
4
|
certificate?: string;
|
|
6
5
|
applicationId?: string;
|
|
@@ -11,7 +10,6 @@ export interface CyberArkUsernamePasswordConfig extends ExternalVaultConfig {
|
|
|
11
10
|
/** @ignore */
|
|
12
11
|
export declare namespace _CyberArkUsernamePasswordConfigTransformation {
|
|
13
12
|
interface AsJson extends _ExternalVaultConfigTransformation.AsJson {
|
|
14
|
-
centralPolicyManagerUrl?: string;
|
|
15
13
|
usernamePasswordForCPM?: string;
|
|
16
14
|
certificate?: string;
|
|
17
15
|
applicationId?: string;
|
package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { DatasourceDefinitionResetValue, _DatasourceDefinitionResetValueTransfor
|
|
|
3
3
|
* Configuration of a datasource for a property.
|
|
4
4
|
*/
|
|
5
5
|
export interface DatasourceDefinition {
|
|
6
|
+
resetValue?: DatasourceDefinitionResetValue;
|
|
6
7
|
/**
|
|
7
8
|
* The properties to filter the datasource options on.
|
|
8
9
|
*/
|
|
9
10
|
filterProperties: string[];
|
|
10
|
-
resetValue?: DatasourceDefinitionResetValue;
|
|
11
11
|
/**
|
|
12
12
|
* Whether to validate input to only allow values returned by the datasource.
|
|
13
13
|
*/
|
|
@@ -28,8 +28,8 @@ export interface DatasourceDefinition {
|
|
|
28
28
|
/** @ignore */
|
|
29
29
|
export declare namespace _DatasourceDefinitionTransformation {
|
|
30
30
|
interface AsJson {
|
|
31
|
-
filterProperties: string[];
|
|
32
31
|
resetValue?: _DatasourceDefinitionResetValueTransformation.AsJson;
|
|
32
|
+
filterProperties: string[];
|
|
33
33
|
validate: boolean;
|
|
34
34
|
fullContext: boolean;
|
|
35
35
|
useApiSearch: boolean;
|
package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
* A constraint on the values that are going to be deleted.
|
|
3
3
|
*/
|
|
4
4
|
export interface DeletionConstraint {
|
|
5
|
-
/**
|
|
6
|
-
* The ID of a custom validator.
|
|
7
|
-
*/
|
|
8
|
-
customValidatorId?: string;
|
|
9
5
|
/**
|
|
10
6
|
* A custom message for invalid values.
|
|
11
7
|
*/
|
|
12
8
|
customMessage?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The ID of a custom validator.
|
|
11
|
+
*/
|
|
12
|
+
customValidatorId?: string;
|
|
13
13
|
}
|
|
14
14
|
/** @ignore */
|
|
15
15
|
export declare namespace _DeletionConstraintTransformation {
|
|
16
16
|
interface AsJson {
|
|
17
|
-
customValidatorId?: string;
|
|
18
17
|
customMessage?: string;
|
|
18
|
+
customValidatorId?: string;
|
|
19
19
|
}
|
|
20
20
|
function fromJson(model: AsJson): DeletionConstraint;
|
|
21
21
|
function toJson(model: DeletionConstraint): AsJson;
|
|
@@ -12,24 +12,24 @@ export interface DescriptionBlock {
|
|
|
12
12
|
/**
|
|
13
13
|
* Source of the description block (in case of markdown).
|
|
14
14
|
*/
|
|
15
|
-
source?: string;
|
|
15
|
+
source?: string | null;
|
|
16
16
|
/**
|
|
17
17
|
* Collection of images (in case of gallery).
|
|
18
18
|
*/
|
|
19
|
-
images?: Image[];
|
|
19
|
+
images?: (Image | null)[] | null;
|
|
20
20
|
/**
|
|
21
21
|
* Optional identifier of special description blocks.
|
|
22
22
|
*/
|
|
23
|
-
sourceId?: string;
|
|
23
|
+
sourceId?: string | null;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _DescriptionBlockTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
type?: _DescriptionBlockTypeTransformation.AsJson;
|
|
29
29
|
title?: string;
|
|
30
|
-
source?: string;
|
|
31
|
-
images?: _ImageTransformation.AsJson[];
|
|
32
|
-
sourceId?: string;
|
|
30
|
+
source?: string | null;
|
|
31
|
+
images?: (_ImageTransformation.AsJson | null)[] | null;
|
|
32
|
+
sourceId?: string | null;
|
|
33
33
|
}
|
|
34
34
|
function fromJson(model: AsJson): DescriptionBlock;
|
|
35
35
|
function toJson(model: DescriptionBlock): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts
CHANGED
|
@@ -3,18 +3,14 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
|
|
|
3
3
|
* An effective settings value.
|
|
4
4
|
*/
|
|
5
5
|
export interface EffectiveSettingsValue {
|
|
6
|
-
/**
|
|
7
|
-
* The timestamp of the creation.
|
|
8
|
-
*/
|
|
9
|
-
created?: number;
|
|
10
6
|
/**
|
|
11
7
|
* The origin of the settings value.
|
|
12
8
|
*/
|
|
13
9
|
origin?: string;
|
|
14
10
|
/**
|
|
15
|
-
* The
|
|
11
|
+
* The timestamp of the creation.
|
|
16
12
|
*/
|
|
17
|
-
|
|
13
|
+
created?: number;
|
|
18
14
|
/**
|
|
19
15
|
* The timestamp of the last modification.
|
|
20
16
|
*/
|
|
@@ -27,6 +23,11 @@ export interface EffectiveSettingsValue {
|
|
|
27
23
|
* The external identifier of the settings object.
|
|
28
24
|
*/
|
|
29
25
|
externalId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The schema on which the object is based.
|
|
28
|
+
*/
|
|
29
|
+
schemaId?: string;
|
|
30
|
+
value?: SettingsValue;
|
|
30
31
|
/**
|
|
31
32
|
* The version of the schema on which the object is based.
|
|
32
33
|
*/
|
|
@@ -39,21 +40,20 @@ export interface EffectiveSettingsValue {
|
|
|
39
40
|
* A short summary of settings. This can contain Markdown and will be escaped accordingly.
|
|
40
41
|
*/
|
|
41
42
|
summary?: string;
|
|
42
|
-
value?: SettingsValue;
|
|
43
43
|
}
|
|
44
44
|
/** @ignore */
|
|
45
45
|
export declare namespace _EffectiveSettingsValueTransformation {
|
|
46
46
|
interface AsJson {
|
|
47
|
-
created?: number;
|
|
48
47
|
origin?: string;
|
|
49
|
-
|
|
48
|
+
created?: number;
|
|
50
49
|
modified?: number;
|
|
51
50
|
author?: string;
|
|
52
51
|
externalId?: string;
|
|
52
|
+
schemaId?: string;
|
|
53
|
+
value?: _SettingsValueTransformation.AsJson;
|
|
53
54
|
schemaVersion?: string;
|
|
54
55
|
searchSummary?: string;
|
|
55
56
|
summary?: string;
|
|
56
|
-
value?: _SettingsValueTransformation.AsJson;
|
|
57
57
|
}
|
|
58
58
|
function fromJson(model: AsJson): EffectiveSettingsValue;
|
|
59
59
|
function toJson(model: EffectiveSettingsValue): AsJson;
|
|
@@ -8,25 +8,25 @@ export interface EntityIcon {
|
|
|
8
8
|
* Specified by the [barista](https://dt-url.net/u403suy) ID of the icon.
|
|
9
9
|
*/
|
|
10
10
|
secondaryIconType?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The primary icon of the entity.
|
|
13
|
-
*
|
|
14
|
-
* Specified by the [barista](https://dt-url.net/u403suy) ID of the icon.
|
|
15
|
-
*/
|
|
16
|
-
primaryIconType?: string;
|
|
17
11
|
/**
|
|
18
12
|
* The user-defined icon of the entity.
|
|
19
13
|
*
|
|
20
14
|
* Specify the [barista](https://dt-url.net/u403suy) ID of the icon or a URL of your own icon.
|
|
21
15
|
*/
|
|
22
16
|
customIconPath?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The primary icon of the entity.
|
|
19
|
+
*
|
|
20
|
+
* Specified by the [barista](https://dt-url.net/u403suy) ID of the icon.
|
|
21
|
+
*/
|
|
22
|
+
primaryIconType?: string;
|
|
23
23
|
}
|
|
24
24
|
/** @ignore */
|
|
25
25
|
export declare namespace _EntityIconTransformation {
|
|
26
26
|
interface AsJson {
|
|
27
27
|
secondaryIconType?: string;
|
|
28
|
-
primaryIconType?: string;
|
|
29
28
|
customIconPath?: string;
|
|
29
|
+
primaryIconType?: string;
|
|
30
30
|
}
|
|
31
31
|
function fromJson(model: AsJson): EntityIcon;
|
|
32
32
|
function toJson(model: EntityIcon): AsJson;
|
|
@@ -5,10 +5,6 @@ import { ToPosition, _ToPositionTransformation } from './to-position';
|
|
|
5
5
|
* A list of properties of the monitored entity type.
|
|
6
6
|
*/
|
|
7
7
|
export interface EntityType {
|
|
8
|
-
/**
|
|
9
|
-
* Whether the entity creation limit for the given type has been exceeded
|
|
10
|
-
*/
|
|
11
|
-
entityLimitExceeded?: boolean;
|
|
12
8
|
/**
|
|
13
9
|
* A list of possible relationships where the monitored entity type occupies the FROM position
|
|
14
10
|
*/
|
|
@@ -17,6 +13,10 @@ export interface EntityType {
|
|
|
17
13
|
* A list of possible relationships where the monitored entity type occupies the TO position.
|
|
18
14
|
*/
|
|
19
15
|
toRelationships?: FromPosition[];
|
|
16
|
+
/**
|
|
17
|
+
* Whether the entity creation limit for the given type has been exceeded
|
|
18
|
+
*/
|
|
19
|
+
entityLimitExceeded?: boolean;
|
|
20
20
|
/**
|
|
21
21
|
* The dimension key used within metrics for this monitored entity.
|
|
22
22
|
*/
|
|
@@ -45,9 +45,9 @@ export interface EntityType {
|
|
|
45
45
|
/** @ignore */
|
|
46
46
|
export declare namespace _EntityTypeTransformation {
|
|
47
47
|
interface AsJson {
|
|
48
|
-
entityLimitExceeded?: boolean;
|
|
49
48
|
fromRelationships?: _ToPositionTransformation.AsJson[];
|
|
50
49
|
toRelationships?: _FromPositionTransformation.AsJson[];
|
|
50
|
+
entityLimitExceeded?: boolean;
|
|
51
51
|
dimensionKey?: string;
|
|
52
52
|
tags?: string;
|
|
53
53
|
managementZones?: string;
|