@dynatrace-sdk/client-classic-environment-v2 3.5.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +994 -246
  3. package/cjs/index.js +5325 -3529
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +3388 -1600
  6. package/package.json +1 -1
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -2
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +251 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +1 -0
  11. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +2 -2
  12. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions-list.d.ts +7 -0
  13. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions-list.transformation.d.ts +7 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions-permissions-item.d.ts +9 -0
  15. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions-permissions-item.transformation.d.ts +3 -0
  16. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions.d.ts +14 -0
  17. package/types/packages/client/classic-environment-v2/src/lib/models/accessor-permissions.transformation.d.ts +9 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-category.d.ts +1 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-category.transformation.d.ts +2 -2
  20. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +1 -1
  21. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.d.ts +2 -2
  22. package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.transformation.d.ts +2 -2
  23. package/types/packages/client/classic-environment-v2/src/lib/models/get-permission-path-accessor-type.d.ts +7 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/models/get-permission-path-accessor-type.transformation.d.ts +3 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +182 -162
  26. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +8 -1
  27. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.transformation.d.ts +2 -2
  29. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +1 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-node-names.d.ts +6 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-node-names.transformation.d.ts +6 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +5 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.transformation.d.ts +2 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/remove-permission-path-accessor-type.d.ts +7 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/remove-permission-path-accessor-type.transformation.d.ts +3 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.d.ts +1 -1
  37. package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.transformation.d.ts +1 -1
  38. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +1 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +2 -2
  40. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +6 -6
  41. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +4 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/slo.transformation.d.ts +1 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/transfer-ownership-request.d.ts +10 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/transfer-ownership-request.transformation.d.ts +10 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/update-permission-path-accessor-type.d.ts +7 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/update-permission-path-accessor-type.transformation.d.ts +3 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/update-permissions-request-permissions-item.d.ts +9 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/update-permissions-request-permissions-item.transformation.d.ts +3 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/update-permissions-request.d.ts +9 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/update-permissions-request.transformation.d.ts +7 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-serializer.d.ts +0 -3
@@ -9,7 +9,8 @@ The object might contain the following types of keys (the possible key values ar
9
9
  * The following formats are supported: UTC milliseconds, RFC3339, and RFC3164. For the missing timestamp, the current timestamp is used. For the unsupported timestamp format, the current timestamp is used, and the value of the unsupported timestamp format is stored in the `unparsed_timestamp` attribute (for Log Monitoring Classic, this attribute isn't indexed).
10
10
  * **Severity.** If not set, `NONE` is used.
11
11
  * **Content.** If the content key is not set, the whole JSON is parsed as the content.
12
- * **Attributes.** * Logs on Grail with OpenPipeline custom processing (Dynatrace SaaS version 1.295+, Environment ActiveGate version 1.295+): All JSON data types (string, number, boolean, null) are supported. All attributes are indexed and can be used in queries. Keys are case-sensitive.
12
+ * **Attributes:**
13
+ * Logs on Grail with OpenPipeline custom processing (Dynatrace SaaS version 1.295+, Environment ActiveGate version 1.295+): All JSON data types (string, number, boolean, null) are supported. All attributes are indexed and can be used in queries. Keys are case-sensitive.
13
14
  * Logs on Grail without OpenPipeline custom processing: Only values of the `string` type are supported. All attributes are indexed and can be used in queries. Keys are case-insensitive (lowercased).
14
15
  * Log Monitoring Classic: Only values of the `string` type are supported. Semantic attributes are indexed and can be used in queries. If an unsupported key occurs, it is not indexed and can't be used in indexing and aggregations. Keys are case-insensitive (lowercased).
15
16
  * **Semantic attributes.** are displayed in aggregations (facets) in Log and Events Viewer. Refer to the [Semantic Dictionary documentation page](https://docs.dynatrace.com/docs/platform/semantic-dictionary) for more details.
@@ -81,6 +82,7 @@ The object value can be a single constant or an array of constants. The length o
81
82
  <br/> **Supported content keys:**
82
83
  * body
83
84
  * content
85
+ * log
84
86
  * message
85
87
  * payload
86
88
 
@@ -229,6 +231,7 @@ The object value can be a single constant or an array of constants. The length o
229
231
  * http.status_text
230
232
  * http.target
231
233
  * http.url
234
+ * journald.unit
232
235
  * k8s.cluster.name
233
236
  * k8s.container.name
234
237
  * k8s.cronjob.name
@@ -246,6 +249,8 @@ The object value can be a single constant or an array of constants. The length o
246
249
  * k8s.replicaset.uid
247
250
  * k8s.statefulset.name
248
251
  * k8s.statefulset.uid
252
+ * k8s.workload.kind
253
+ * k8s.workload.name
249
254
  * log.source
250
255
  * log.source.origin
251
256
  * net.host.ip
@@ -264,10 +269,12 @@ The object value can be a single constant or an array of constants. The length o
264
269
  * span_id
265
270
  * trace_id
266
271
  * winlog.eventid
272
+ * winlog.keywords
267
273
  * winlog.level
268
274
  * winlog.opcode
269
275
  * winlog.provider
270
276
  * winlog.task
277
+ * winlog.username
271
278
  * This is just an alias for a type Record<string, any>.
272
279
  * @typedef {Record<string, any>} LogMessageJson
273
280
  */
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export declare enum MonitoredEntityStatesState {
7
7
  AgentInjectionStatusGoDynamizerFailed = "agent_injection_status_go_dynamizer_failed",
8
+ AgentInjectionStatusGoFipsDetectedButFeatureDisabled = "agent_injection_status_go_fips_detected_but_feature_disabled",
8
9
  AgentInjectionStatusGoPclntabFailed = "agent_injection_status_go_pclntab_failed",
9
10
  AgentInjectionStatusGoVertigoSupportAdded = "agent_injection_status_go_vertigo_support_added",
10
11
  AgentInjectionStatusNginxPatchedBinaryDetected = "agent_injection_status_nginx_patched_binary_detected",
@@ -1,3 +1,3 @@
1
1
  export type AsJson = string;
2
- export declare function fromJson($model: AsJson): 'agent_injection_status_go_dynamizer_failed' | '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';
3
- export declare function toJson($model: 'agent_injection_status_go_dynamizer_failed' | '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'): AsJson;
2
+ export declare function fromJson($model: AsJson): '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';
3
+ export declare function toJson($model: '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'): AsJson;
@@ -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_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' | '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
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A mapping id to name of the nodes belonging to the location.
3
+ */
4
+ export interface PrivateSyntheticLocationNodeNames {
5
+ [propName: string]: string | undefined;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { PrivateSyntheticLocationNodeNames } from './private-synthetic-location-node-names';
2
+ export interface AsJson {
3
+ [propName: string]: string | undefined;
4
+ }
5
+ export declare function fromJson($model: AsJson): PrivateSyntheticLocationNodeNames;
6
+ export declare function toJson($model: PrivateSyntheticLocationNodeNames): AsJson;
@@ -1,3 +1,4 @@
1
+ import { PrivateSyntheticLocationNodeNames } from './private-synthetic-location-node-names';
1
2
  /**
2
3
  * Configuration of a private synthetic location.
3
4
  *
@@ -72,6 +73,10 @@ export interface PrivateSyntheticLocation {
72
73
  * The name of the location.
73
74
  */
74
75
  name: string;
76
+ /**
77
+ * A mapping id to name of the nodes belonging to the location.
78
+ */
79
+ nodeNames?: PrivateSyntheticLocationNodeNames;
75
80
  /**
76
81
  * A list of synthetic nodes belonging to the location.
77
82
  *
@@ -1,5 +1,6 @@
1
1
  import { PrivateSyntheticLocation } from './private-synthetic-location';
2
2
  import * as _PrivateSyntheticLocationDeploymentTypeTransformation from './private-synthetic-location-deployment-type.transformation';
3
+ import * as _PrivateSyntheticLocationNodeNamesTransformation from './private-synthetic-location-node-names.transformation';
3
4
  import * as _PrivateSyntheticLocationStatusTransformation from './private-synthetic-location-status.transformation';
4
5
  import * as _PrivateSyntheticLocationTypeTransformation from './private-synthetic-location-type.transformation';
5
6
  export interface AsJson {
@@ -18,6 +19,7 @@ export interface AsJson {
18
19
  longitude: number;
19
20
  namExecutionSupported?: boolean;
20
21
  name: string;
22
+ nodeNames?: _PrivateSyntheticLocationNodeNamesTransformation.AsJson;
21
23
  nodes: string[];
22
24
  regionCode?: string;
23
25
  regionName?: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @deprecated Use literal values.
3
+ */
4
+ export declare enum RemovePermissionPathAccessorType {
5
+ Group = "group",
6
+ User = "user"
7
+ }
@@ -0,0 +1,3 @@
1
+ export type AsJson = string;
2
+ export declare function fromJson($model: AsJson): 'group' | 'user';
3
+ export declare function toJson($model: 'group' | 'user'): AsJson;
@@ -1,4 +1,4 @@
1
1
  import { SinglePermissionRequest } from './single-permission-request';
2
2
  export interface ResolutionRequest {
3
- permissions?: SinglePermissionRequest[];
3
+ permissions: SinglePermissionRequest[];
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { ResolutionRequest } from './resolution-request';
2
2
  import * as _SinglePermissionRequestTransformation from './single-permission-request.transformation';
3
3
  export interface AsJson {
4
- permissions?: _SinglePermissionRequestTransformation.AsJson[];
4
+ permissions: _SinglePermissionRequestTransformation.AsJson[];
5
5
  }
6
6
  export declare function fromJson($model: AsJson): ResolutionRequest;
7
7
  export declare function toJson($model: ResolutionRequest): AsJson;
@@ -29,7 +29,7 @@ export interface RevisionDiff {
29
29
  */
30
30
  revision?: string;
31
31
  /**
32
- * The schema version the new value complies to
32
+ * The schema version the new value complies to.
33
33
  */
34
34
  schemaVersion?: string;
35
35
  /**
@@ -10,9 +10,9 @@ export interface SettingsObjectCreate {
10
10
  /**
11
11
  * The position of the new object. The new object will be added after the specified one.
12
12
  *
13
- * If `null`, the new object will be placed in the last position.
13
+ * If `null` (or unset), the new object will be placed in the last position.
14
14
  *
15
- * If set to empty string, the new object will be placed in the first position.
15
+ * If set to an empty string, the new object will be placed in the first position.
16
16
  *
17
17
  * Only applicable for objects based on schemas with ordered objects (schema's `ordered` parameter is set to `true`).
18
18
  */
@@ -6,11 +6,11 @@ export interface SettingsObjectUpdate {
6
6
  /**
7
7
  * The position of the updated object. The new object will be moved behind the specified one.
8
8
  *
9
- * **insertAfter** and **insertBefore** are evaluated together and only one of both can be set.
9
+ * **insertAfter** and **insertBefore** are evaluated together and only one of both can be set (and be non `null`).
10
10
  *
11
- * If `null` and **insertBefore** 'null', the existing object keeps the current position.
11
+ * If `null` (or unset) and **insertBefore** is `null` (or unset), the existing object keeps the current position.
12
12
  *
13
- * If set to empty string, the updated object will be placed in the first position.
13
+ * If set to an empty string, the updated object will be placed in the first position.
14
14
  *
15
15
  * Only applicable for objects based on schemas with ordered objects (schema's **ordered** parameter is set to `true`).
16
16
  */
@@ -18,11 +18,11 @@ export interface SettingsObjectUpdate {
18
18
  /**
19
19
  * The position of the updated object. The new object will be moved in front of the specified one.
20
20
  *
21
- * **insertAfter** and **insertBefore** are evaluated together and only one of both can be set.
21
+ * **insertAfter** and **insertBefore** are evaluated together and only one of both can be set (and be non `null`).
22
22
  *
23
- * If `null` and **insertAfter** 'null', the existing object keeps the current position.
23
+ * If `null` (or unset) and **insertAfter** is `null` (or unset), the existing object keeps the current position.
24
24
  *
25
- * If set to empty string, the updated object will be placed in the last position.
25
+ * If set to an empty string, the updated object will be placed in the last position.
26
26
  *
27
27
  * Only applicable for objects based on schemas with ordered objects (schema's **ordered** parameter is set to `true`).
28
28
  */
@@ -81,6 +81,10 @@ export interface SLO {
81
81
  * The key for the SLO's status func metric.
82
82
  */
83
83
  metricKey: string;
84
+ /**
85
+ * The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed.
86
+ */
87
+ metricName: string;
84
88
  /**
85
89
  * The metric for the count of successes (the numerator in rate calculation).
86
90
  *
@@ -18,6 +18,7 @@ export interface AsJson {
18
18
  metricDenominator?: string;
19
19
  metricExpression: string;
20
20
  metricKey: string;
21
+ metricName: string;
21
22
  metricNumerator?: string;
22
23
  metricRate?: string;
23
24
  name: string;
@@ -0,0 +1,10 @@
1
+ import { Identity } from './identity';
2
+ /**
3
+ * The request to change ownership of an object.
4
+ */
5
+ export interface TransferOwnershipRequest {
6
+ /**
7
+ * An Identity describing either a user, a group, or the all-users group (applying to all users).
8
+ */
9
+ newOwner?: Identity;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
2
+ import * as _IdentityTransformation from './identity.transformation';
3
+ import { TransferOwnershipRequest } from './transfer-ownership-request';
4
+ export interface AsJson {
5
+ newOwner?: _IdentityTransformation.AsJson;
6
+ }
7
+ export declare function fromJson($model: AsJson): TransferOwnershipRequest;
8
+ export declare function toJson($model: TransferOwnershipRequest): AsJson;
9
+ export declare function fromFormData(formData: FormDataResponseBody): TransferOwnershipRequest;
10
+ export declare function toFormData($model: TransferOwnershipRequest): FormDataRequestBody;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @deprecated Use literal values.
3
+ */
4
+ export declare enum UpdatePermissionPathAccessorType {
5
+ Group = "group",
6
+ User = "user"
7
+ }
@@ -0,0 +1,3 @@
1
+ export type AsJson = string;
2
+ export declare function fromJson($model: AsJson): 'group' | 'user';
3
+ export declare function toJson($model: 'group' | 'user'): AsJson;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * r = read, w = write
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum UpdatePermissionsRequestPermissionsItem {
7
+ R = "r",
8
+ W = "w"
9
+ }
@@ -0,0 +1,3 @@
1
+ export type AsJson = string;
2
+ export declare function fromJson($model: AsJson): 'r' | 'w';
3
+ export declare function toJson($model: 'r' | 'w'): AsJson;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The request to update the permissions of a specific accessor.
3
+ */
4
+ export interface UpdatePermissionsRequest {
5
+ /**
6
+ * The permissions to assign to the specified accessor.
7
+ */
8
+ permissions?: Array<'r' | 'w'>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { UpdatePermissionsRequest } from './update-permissions-request';
2
+ import * as _UpdatePermissionsRequestPermissionsItemTransformation from './update-permissions-request-permissions-item.transformation';
3
+ export interface AsJson {
4
+ permissions?: _UpdatePermissionsRequestPermissionsItemTransformation.AsJson[];
5
+ }
6
+ export declare function fromJson($model: AsJson): UpdatePermissionsRequest;
7
+ export declare function toJson($model: UpdatePermissionsRequest): AsJson;
@@ -1,3 +0,0 @@
1
- import { GlobalErrorSerializer } from '@dynatrace-sdk/error-handlers';
2
- export declare const apiClientErrorSerializer: GlobalErrorSerializer;
3
- export declare function registerGlobalErrorSerializer(serializer: GlobalErrorSerializer): void;