@dynatrace-sdk/client-classic-environment-v2 3.7.3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1012 -719
- package/cjs/index.js +574 -22
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +574 -22
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +145 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/alert-template-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto-status.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto-status.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-os-architecture.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +9 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-update-dto-type.d.ts → synthetic-multi-protocol-monitor-request-type.d.ts} +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-update-dto.d.ts → synthetic-multi-protocol-monitor-request.d.ts} +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-dto-type.d.ts → synthetic-multi-protocol-monitor-response-type.d.ts} +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-dto.d.ts → synthetic-multi-protocol-monitor-response.d.ts} +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +21 -4
package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export interface MonitoredEntityStates {
|
|
|
18
18
|
/**
|
|
19
19
|
* The name of the monitoring state.
|
|
20
20
|
*/
|
|
21
|
-
state?: 'agent_injection_status_go_dynamizer_failed' | 'agent_injection_status_go_fips_detected_but_feature_disabled' | 'agent_injection_status_go_pclntab_failed' | 'agent_injection_status_go_vertigo_support_added' | 'agent_injection_status_nginx_patched_binary_detected' | 'agent_injection_status_php_opcache_disabled' | 'agent_injection_status_php_stack_size_too_low' | 'agent_injection_suppression' | 'aix_enable_full_monitoring_needed' | 'bad_installer' | 'boshbpm_disabled' | 'container_injection_failed' | 'containerd_disabled' | 'crio_disabled' | 'custom_pg_rule_required' | 'deep_monitoring_successful' | 'deep_monitoring_unsuccessful' | 'docker_disabled' | 'garden_disabled' | 'host_infra_structure_only' | 'host_monitoring_disabled' | 'network_agent_inactive' | 'ok' | 'parent_process_restart_required' | 'podman_disabled' | 'process_group_different_id_due_to_declarative_grouping' | 'process_group_disabled' | 'process_group_disabled_via_container_injection_rule' | 'process_group_disabled_via_container_injection_rule_restart' | 'process_group_disabled_via_global_settings' | 'process_group_disabled_via_injection_rule' | 'process_group_disabled_via_injection_rule_restart' | 'restart_required' | 'restart_required_apache' | 'restart_required_docker_deamon' | 'restart_required_host_group_inconsistent' | 'restart_required_host_id_inconsistent' | 'restart_required_outdated_agent_apache_update' | 'restart_required_outdated_agent_injected' | 'restart_required_using_different_data_storage_dir' | 'restart_required_using_different_log_path' | 'restart_required_virtualized_container' | 'unsupported_state' | 'winc_disabled';
|
|
21
|
+
state?: 'agent_injection_status_go_dynamizer_failed' | 'agent_injection_status_go_fips_detected_but_feature_disabled' | 'agent_injection_status_go_pclntab_failed' | 'agent_injection_status_go_vertigo_support_added' | 'agent_injection_status_nginx_patched_binary_detected' | 'agent_injection_status_php_opcache_disabled' | 'agent_injection_status_php_stack_size_too_low' | 'agent_injection_suppression' | 'aix_enable_full_monitoring_needed' | 'bad_installer' | 'boshbpm_disabled' | 'container_injection_failed' | 'containerd_disabled' | 'crio_disabled' | 'custom_pg_rule_required' | 'deep_monitoring_successful' | 'deep_monitoring_unsuccessful' | 'docker_disabled' | 'garden_disabled' | 'host_infra_structure_only' | 'host_monitoring_disabled' | 'network_agent_inactive' | 'ok' | 'parent_process_restart_required' | 'podman_disabled' | 'process_group_different_id_due_to_declarative_grouping' | 'process_group_disabled' | 'process_group_disabled_via_container_injection_rule' | 'process_group_disabled_via_container_injection_rule_restart' | 'process_group_disabled_via_global_settings' | 'process_group_disabled_via_injection_rule' | 'process_group_disabled_via_injection_rule_restart' | 'process_group_pgr_group_update_suppressed' | 'restart_required' | 'restart_required_apache' | 'restart_required_docker_deamon' | 'restart_required_host_group_inconsistent' | 'restart_required_host_id_inconsistent' | 'restart_required_outdated_agent_apache_update' | 'restart_required_outdated_agent_injected' | 'restart_required_using_different_data_storage_dir' | 'restart_required_using_different_log_path' | 'restart_required_virtualized_container' | 'unsupported_state' | 'winc_disabled';
|
|
22
22
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PrivateSyntheticLocationNodeNames } from './private-synthetic-location-
|
|
|
6
6
|
*/
|
|
7
7
|
export interface PrivateSyntheticLocation {
|
|
8
8
|
/**
|
|
9
|
-
* Auto upgrade of Chromium is enabled (`true`) or disabled (`false`).
|
|
9
|
+
* Non-containerized location property. Auto upgrade of Chromium is enabled (`true`) or disabled (`false`).
|
|
10
10
|
*/
|
|
11
11
|
autoUpdateChromium?: boolean;
|
|
12
12
|
/**
|
|
@@ -22,7 +22,7 @@ export interface PrivateSyntheticLocation {
|
|
|
22
22
|
*/
|
|
23
23
|
availabilityNotificationsEnabled?: boolean;
|
|
24
24
|
/**
|
|
25
|
-
* Boolean value describes if browser monitors will be executed on this location:
|
|
25
|
+
* Containerized location property. Boolean value describes if browser monitors will be executed on this location:
|
|
26
26
|
*
|
|
27
27
|
* * `false`: Browser monitor executions disabled.
|
|
28
28
|
* * `true`: Browser monitor executions enabled.
|
|
@@ -70,7 +70,7 @@ export interface PrivateSyntheticLocation {
|
|
|
70
70
|
*/
|
|
71
71
|
longitude: number;
|
|
72
72
|
/**
|
|
73
|
-
* Boolean value describes if icmp monitors will be executed on this location:
|
|
73
|
+
* Containerized location property. Boolean value describes if icmp monitors will be executed on this location:
|
|
74
74
|
*
|
|
75
75
|
* * `false`: Icmp monitor executions disabled.
|
|
76
76
|
* * `true`: Icmp monitor executions enabled.
|
|
@@ -110,7 +110,7 @@ export interface PrivateSyntheticLocation {
|
|
|
110
110
|
status?: 'DISABLED' | 'ENABLED' | 'HIDDEN';
|
|
111
111
|
type: 'CLUSTER' | 'PRIVATE' | 'PUBLIC';
|
|
112
112
|
/**
|
|
113
|
-
* Boolean value describes which kubernetes version will be used:
|
|
113
|
+
* Containerized location property. Boolean value describes which kubernetes version will be used:
|
|
114
114
|
*
|
|
115
115
|
* * `false`: Version 1.23+ that is older than 1.26
|
|
116
116
|
* * `true`: Version 1.26+.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @deprecated Use literal values.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum SchemaConstraintRestDtoType {
|
|
7
|
+
ByteSizeLimit = "BYTE_SIZE_LIMIT",
|
|
7
8
|
CustomValidatorRef = "CUSTOM_VALIDATOR_REF",
|
|
8
9
|
MultiScopeCustomValidatorRef = "MULTI_SCOPE_CUSTOM_VALIDATOR_REF",
|
|
9
10
|
MultiScopeUnique = "MULTI_SCOPE_UNIQUE",
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export interface SchemaConstraintRestDto {
|
|
2
|
+
/**
|
|
3
|
+
* The maximum allowed size in bytes for the sum over all persisted values for the schema
|
|
4
|
+
*/
|
|
5
|
+
byteLimit?: number;
|
|
2
6
|
/**
|
|
3
7
|
* A custom message for invalid values.
|
|
4
8
|
*/
|
|
@@ -14,7 +18,7 @@ export interface SchemaConstraintRestDto {
|
|
|
14
18
|
/**
|
|
15
19
|
* The type of the schema constraint.
|
|
16
20
|
*/
|
|
17
|
-
type: 'CUSTOM_VALIDATOR_REF' | 'MULTI_SCOPE_CUSTOM_VALIDATOR_REF' | 'MULTI_SCOPE_UNIQUE' | 'UNIQUE' | 'UNKNOWN';
|
|
21
|
+
type: 'BYTE_SIZE_LIMIT' | 'CUSTOM_VALIDATOR_REF' | 'MULTI_SCOPE_CUSTOM_VALIDATOR_REF' | 'MULTI_SCOPE_UNIQUE' | 'UNIQUE' | 'UNKNOWN';
|
|
18
22
|
/**
|
|
19
23
|
* The list of properties for which the combination of values needs to be unique
|
|
20
24
|
*/
|
|
@@ -18,6 +18,10 @@ export interface SchemaStub {
|
|
|
18
18
|
* Ordered flag. `True` if the schema is an ordered multi-object schema.
|
|
19
19
|
*/
|
|
20
20
|
ordered?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Owner based access control flag. `True` if the schema has owner based access control enabled.
|
|
23
|
+
*/
|
|
24
|
+
ownerBasedAccessControl?: boolean;
|
|
21
25
|
/**
|
|
22
26
|
* The ID of the schema.
|
|
23
27
|
*/
|
|
@@ -5,7 +5,7 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
|
|
|
5
5
|
/**
|
|
6
6
|
* Number of consecutive failures for all locations.
|
|
7
7
|
*/
|
|
8
|
-
globalConsecutiveOutageCountThreshold
|
|
8
|
+
globalConsecutiveOutageCountThreshold?: number;
|
|
9
9
|
/**
|
|
10
10
|
* Generate a problem and send an alert when the monitor is unavailable at all configured locations.
|
|
11
11
|
*/
|
|
@@ -17,11 +17,15 @@ export interface SyntheticMonitorPerformanceThresholdDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* Specify the step's index to which a threshold applies.
|
|
19
19
|
*/
|
|
20
|
-
stepIndex
|
|
20
|
+
stepIndex?: number;
|
|
21
21
|
/**
|
|
22
22
|
* Notify if monitor request takes longer than *X* milliseconds to execute.
|
|
23
23
|
*/
|
|
24
24
|
threshold: number;
|
|
25
|
+
/**
|
|
26
|
+
* Type of performance threshold
|
|
27
|
+
*/
|
|
28
|
+
type?: 'MONITOR' | 'STEP';
|
|
25
29
|
/**
|
|
26
30
|
* Number of violating request executions in analyzed sliding window
|
|
27
31
|
*/
|
|
@@ -5,7 +5,7 @@ import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
|
5
5
|
/**
|
|
6
6
|
* Network Availability monitor.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SyntheticMultiProtocolMonitorRequest {
|
|
9
9
|
/**
|
|
10
10
|
* Monitor description
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
|
5
5
|
/**
|
|
6
6
|
* Network Availability monitor.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SyntheticMultiProtocolMonitorResponse {
|
|
9
9
|
/**
|
|
10
10
|
* Monitor description
|
|
11
11
|
*/
|
|
@@ -4,7 +4,7 @@ import { SyntheticLocationUpdate } from './synthetic-location-update';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate {
|
|
6
6
|
/**
|
|
7
|
-
* Auto upgrade of Chromium is enabled (`true`) or disabled (`false`).
|
|
7
|
+
* Non-containerized location property. Auto upgrade of Chromium is enabled (`true`) or disabled (`false`).
|
|
8
8
|
*/
|
|
9
9
|
autoUpdateChromium?: boolean;
|
|
10
10
|
/**
|
|
@@ -20,7 +20,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
20
20
|
*/
|
|
21
21
|
availabilityNotificationsEnabled?: boolean;
|
|
22
22
|
/**
|
|
23
|
-
* Boolean value describes if browser monitors will be executed on this location:
|
|
23
|
+
* Containerized location property. Boolean value describes if browser monitors will be executed on this location:
|
|
24
24
|
*
|
|
25
25
|
* * `false`: Browser monitor executions disabled.
|
|
26
26
|
* * `true`: Browser monitor executions enabled.
|
|
@@ -56,7 +56,15 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
56
56
|
*/
|
|
57
57
|
longitude?: number;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Containerized location property. The maximum number of ActiveGates deployed for the location (required for a Kubernetes location).
|
|
60
|
+
*/
|
|
61
|
+
maxActiveGateCount?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Containerized location property. The minimum number of ActiveGates deployed for the location (required for a Kubernetes location).
|
|
64
|
+
*/
|
|
65
|
+
minActiveGateCount?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Containerized location property. Boolean value describes if icmp monitors will be executed on this location:
|
|
60
68
|
*
|
|
61
69
|
* * `false`: Icmp monitor executions disabled.
|
|
62
70
|
* * `true`: Icmp monitor executions enabled.
|
|
@@ -66,6 +74,15 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
66
74
|
* The name of the location.
|
|
67
75
|
*/
|
|
68
76
|
name?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Containerized location property. The size of a containerized node deployed for the location (required for a Kubernetes location). Accepted values:
|
|
79
|
+
*
|
|
80
|
+
* * `XS`: extra small
|
|
81
|
+
* * `S`: small
|
|
82
|
+
* * `M`: medium
|
|
83
|
+
* The node size `L` is not supported in containerized locations.
|
|
84
|
+
*/
|
|
85
|
+
nodeSize?: 'M' | 'S' | 'UNSUPPORTED' | 'XS';
|
|
69
86
|
/**
|
|
70
87
|
* A list of synthetic nodes belonging to the location.
|
|
71
88
|
*
|
|
@@ -87,7 +104,7 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
87
104
|
*/
|
|
88
105
|
status?: 'DISABLED' | 'ENABLED' | 'HIDDEN';
|
|
89
106
|
/**
|
|
90
|
-
* Boolean value describes which kubernetes version will be used:
|
|
107
|
+
* Containerized location property. Boolean value describes which kubernetes version will be used:
|
|
91
108
|
*
|
|
92
109
|
* * `false`: Version 1.23+ that is older than 1.26
|
|
93
110
|
* * `true`: Version 1.26+.
|