@dynatrace-sdk/client-classic-environment-v2 0.6.1 → 0.6.4
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 +26 -0
- package/README.md +9 -7
- package/cjs/index.js +4558 -1077
- package/docs/DOCS.md +3626 -420
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +4558 -1077
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +7 -23
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +15 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +5 -17
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +5 -17
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -20
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +7 -22
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +2 -6
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-serializer.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/bm-action.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +5 -5
- 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/effective-settings-value.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts +2 -2
- 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-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +2 -2
- 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/event-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -5
- 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-status.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +27 -27
- 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-evidence.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/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +25 -25
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
- 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 +37 -37
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +6 -8
- 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/update-job.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-component.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +21 -0
- package/types/packages/platform/error-handlers/src/index.d.ts +2 -0
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +14 -0
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +10 -0
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +5 -0
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +9 -0
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +7 -0
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +10 -0
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +11 -0
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +5 -0
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +8 -0
- package/types/packages/platform/shared/index.d.ts +1 -0
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +1 -0
package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { UiCustomization, _UiCustomizationTransformation } from './ui-customizat
|
|
|
11
11
|
* Configuration of a property in a settings schema.
|
|
12
12
|
*/
|
|
13
13
|
export interface PropertyDefinition {
|
|
14
|
+
items?: Item;
|
|
14
15
|
/**
|
|
15
16
|
* The type referenced by the property value
|
|
16
17
|
*/
|
|
@@ -33,11 +34,6 @@ export interface PropertyDefinition {
|
|
|
33
34
|
*/
|
|
34
35
|
minObjects?: number;
|
|
35
36
|
modificationPolicy?: PropertyDefinitionModificationPolicy;
|
|
36
|
-
items?: Item;
|
|
37
|
-
/**
|
|
38
|
-
* The subtype of the property's value.
|
|
39
|
-
*/
|
|
40
|
-
subType?: string;
|
|
41
37
|
/**
|
|
42
38
|
* The display name of the property.
|
|
43
39
|
*/
|
|
@@ -53,6 +49,10 @@ export interface PropertyDefinition {
|
|
|
53
49
|
* A list of constraints limiting the values to be accepted.
|
|
54
50
|
*/
|
|
55
51
|
constraints?: Constraint[];
|
|
52
|
+
/**
|
|
53
|
+
* The subtype of the property's value.
|
|
54
|
+
*/
|
|
55
|
+
subType?: string;
|
|
56
56
|
/**
|
|
57
57
|
* The value can (`true`) or can't (`false`) be `null`.
|
|
58
58
|
*/
|
|
@@ -61,6 +61,7 @@ export interface PropertyDefinition {
|
|
|
61
61
|
/** @ignore */
|
|
62
62
|
export declare namespace _PropertyDefinitionTransformation {
|
|
63
63
|
interface AsJson {
|
|
64
|
+
items?: _ItemTransformation.AsJson;
|
|
64
65
|
referencedType?: string;
|
|
65
66
|
documentation?: string;
|
|
66
67
|
maxObjects: number;
|
|
@@ -69,14 +70,13 @@ export declare namespace _PropertyDefinitionTransformation {
|
|
|
69
70
|
datasource?: _DatasourceDefinitionTransformation.AsJson;
|
|
70
71
|
minObjects?: number;
|
|
71
72
|
modificationPolicy?: _PropertyDefinitionModificationPolicyTransformation.AsJson;
|
|
72
|
-
items?: _ItemTransformation.AsJson;
|
|
73
|
-
subType?: string;
|
|
74
73
|
displayName?: string;
|
|
75
74
|
default?: _PropertyDefinitionDefaultTransformation.AsJson;
|
|
76
75
|
type: _PropertyDefinitionTypeTransformation.AsJson;
|
|
77
76
|
description?: string;
|
|
78
77
|
metadata?: _PropertyDefinitionMetadataTransformation.AsJson;
|
|
79
78
|
constraints?: _ConstraintTransformation.AsJson[];
|
|
79
|
+
subType?: string;
|
|
80
80
|
nullable: boolean;
|
|
81
81
|
}
|
|
82
82
|
function fromJson(model: AsJson): PropertyDefinition;
|
|
@@ -13,18 +13,6 @@ export interface Release {
|
|
|
13
13
|
* The entity id of correlating release.
|
|
14
14
|
*/
|
|
15
15
|
releaseEntityId?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The entity has one or more security vulnerabilities
|
|
18
|
-
*/
|
|
19
|
-
affectedBySecurityVulnerabilities?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The count of bytes per second of the entity
|
|
22
|
-
*/
|
|
23
|
-
throughput?: number;
|
|
24
|
-
/**
|
|
25
|
-
* The software technologies of the release
|
|
26
|
-
*/
|
|
27
|
-
softwareTechs?: SoftwareTechs[];
|
|
28
16
|
/**
|
|
29
17
|
* The number of security vulnerabilities of the entity
|
|
30
18
|
*/
|
|
@@ -37,10 +25,22 @@ export interface Release {
|
|
|
37
25
|
* Indicates that the security vulnerabilities feature is enabled
|
|
38
26
|
*/
|
|
39
27
|
securityVulnerabilitiesEnabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The count of bytes per second of the entity
|
|
30
|
+
*/
|
|
31
|
+
throughput?: number;
|
|
40
32
|
/**
|
|
41
33
|
* The product name
|
|
42
34
|
*/
|
|
43
35
|
product?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The entity has one or more security vulnerabilities
|
|
38
|
+
*/
|
|
39
|
+
affectedBySecurityVulnerabilities?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The software technologies of the release
|
|
42
|
+
*/
|
|
43
|
+
softwareTechs?: SoftwareTechs[];
|
|
44
44
|
/**
|
|
45
45
|
* The instances entityIds included in this release
|
|
46
46
|
*/
|
|
@@ -70,13 +70,13 @@ export interface Release {
|
|
|
70
70
|
export declare namespace _ReleaseTransformation {
|
|
71
71
|
interface AsJson {
|
|
72
72
|
releaseEntityId?: string;
|
|
73
|
-
affectedBySecurityVulnerabilities?: boolean;
|
|
74
|
-
throughput?: number;
|
|
75
|
-
softwareTechs?: _SoftwareTechsTransformation.AsJson[];
|
|
76
73
|
securityVulnerabilitiesCount?: number;
|
|
77
74
|
affectedByProblems?: boolean;
|
|
78
75
|
securityVulnerabilitiesEnabled?: boolean;
|
|
76
|
+
throughput?: number;
|
|
79
77
|
product?: string;
|
|
78
|
+
affectedBySecurityVulnerabilities?: boolean;
|
|
79
|
+
softwareTechs?: _SoftwareTechsTransformation.AsJson[];
|
|
80
80
|
instances?: _ReleaseInstanceTransformation.AsJson[];
|
|
81
81
|
running?: boolean;
|
|
82
82
|
version?: string;
|
|
@@ -12,9 +12,9 @@ export interface Releases {
|
|
|
12
12
|
*/
|
|
13
13
|
releasesWithProblems?: number;
|
|
14
14
|
/**
|
|
15
|
-
* The number of entries
|
|
15
|
+
* The total number of entries in the result.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
totalCount: number;
|
|
18
18
|
/**
|
|
19
19
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
20
20
|
*
|
|
@@ -22,18 +22,18 @@ export interface Releases {
|
|
|
22
22
|
*/
|
|
23
23
|
nextPageKey?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The number of entries per page.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
pageSize?: number;
|
|
28
28
|
}
|
|
29
29
|
/** @ignore */
|
|
30
30
|
export declare namespace _ReleasesTransformation {
|
|
31
31
|
interface AsJson {
|
|
32
32
|
releases?: _ReleaseTransformation.AsJson[];
|
|
33
33
|
releasesWithProblems?: number;
|
|
34
|
-
pageSize?: number;
|
|
35
|
-
nextPageKey?: string;
|
|
36
34
|
totalCount: number;
|
|
35
|
+
nextPageKey?: string;
|
|
36
|
+
pageSize?: number;
|
|
37
37
|
}
|
|
38
38
|
function fromJson(model: AsJson): Releases;
|
|
39
39
|
function toJson(model: Releases): AsJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnumType } from './enum-type';
|
|
1
|
+
import { EnumType, _EnumTypeTransformation } from './enum-type';
|
|
2
2
|
/**
|
|
3
3
|
* A list of definitions of enum properties.
|
|
4
4
|
*/
|
|
@@ -8,7 +8,7 @@ export interface SchemaDefinitionRestDtoEnums {
|
|
|
8
8
|
/** @ignore */
|
|
9
9
|
export declare namespace _SchemaDefinitionRestDtoEnumsTransformation {
|
|
10
10
|
interface AsJson {
|
|
11
|
-
[propName: string]:
|
|
11
|
+
[propName: string]: _EnumTypeTransformation.AsJson | undefined;
|
|
12
12
|
}
|
|
13
13
|
function fromJson(model: AsJson): SchemaDefinitionRestDtoEnums;
|
|
14
14
|
function toJson(model: SchemaDefinitionRestDtoEnums): AsJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropertyDefinition } from './property-definition';
|
|
1
|
+
import { PropertyDefinition, _PropertyDefinitionTransformation } from './property-definition';
|
|
2
2
|
/**
|
|
3
3
|
* A list of schema's properties.
|
|
4
4
|
*/
|
|
@@ -8,7 +8,7 @@ export interface SchemaDefinitionRestDtoProperties {
|
|
|
8
8
|
/** @ignore */
|
|
9
9
|
export declare namespace _SchemaDefinitionRestDtoPropertiesTransformation {
|
|
10
10
|
interface AsJson {
|
|
11
|
-
[propName: string]:
|
|
11
|
+
[propName: string]: _PropertyDefinitionTransformation.AsJson | undefined;
|
|
12
12
|
}
|
|
13
13
|
function fromJson(model: AsJson): SchemaDefinitionRestDtoProperties;
|
|
14
14
|
function toJson(model: SchemaDefinitionRestDtoProperties): AsJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SchemaType } from './schema-type';
|
|
1
|
+
import { SchemaType, _SchemaTypeTransformation } from './schema-type';
|
|
2
2
|
/**
|
|
3
3
|
* A list of definitions of types.
|
|
4
4
|
*
|
|
@@ -10,7 +10,7 @@ export interface SchemaDefinitionRestDtoTypes {
|
|
|
10
10
|
/** @ignore */
|
|
11
11
|
export declare namespace _SchemaDefinitionRestDtoTypesTransformation {
|
|
12
12
|
interface AsJson {
|
|
13
|
-
[propName: string]:
|
|
13
|
+
[propName: string]: _SchemaTypeTransformation.AsJson | undefined;
|
|
14
14
|
}
|
|
15
15
|
function fromJson(model: AsJson): SchemaDefinitionRestDtoTypes;
|
|
16
16
|
function toJson(model: SchemaDefinitionRestDtoTypes): AsJson;
|
|
@@ -3,20 +3,20 @@ import { SchemaStub, _SchemaStubTransformation } from './schema-stub';
|
|
|
3
3
|
* The list of available settings schemas.
|
|
4
4
|
*/
|
|
5
5
|
export interface SchemaList {
|
|
6
|
-
/**
|
|
7
|
-
* A list of settings schemas.
|
|
8
|
-
*/
|
|
9
|
-
items: SchemaStub[];
|
|
10
6
|
/**
|
|
11
7
|
* The number of schemas in the list.
|
|
12
8
|
*/
|
|
13
9
|
totalCount: number;
|
|
10
|
+
/**
|
|
11
|
+
* A list of settings schemas.
|
|
12
|
+
*/
|
|
13
|
+
items: SchemaStub[];
|
|
14
14
|
}
|
|
15
15
|
/** @ignore */
|
|
16
16
|
export declare namespace _SchemaListTransformation {
|
|
17
17
|
interface AsJson {
|
|
18
|
-
items: _SchemaStubTransformation.AsJson[];
|
|
19
18
|
totalCount: number;
|
|
19
|
+
items: _SchemaStubTransformation.AsJson[];
|
|
20
20
|
}
|
|
21
21
|
function fromJson(model: AsJson): SchemaList;
|
|
22
22
|
function toJson(model: SchemaList): AsJson;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* The short representation of the settings schema.
|
|
3
3
|
*/
|
|
4
4
|
export interface SchemaStub {
|
|
5
|
-
/**
|
|
6
|
-
* The ID of the schema.
|
|
7
|
-
*/
|
|
8
|
-
schemaId: string;
|
|
9
5
|
/**
|
|
10
6
|
* The most recent version of the schema.
|
|
11
7
|
*/
|
|
12
8
|
latestSchemaVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the schema.
|
|
11
|
+
*/
|
|
12
|
+
schemaId: string;
|
|
13
13
|
/**
|
|
14
14
|
* The name of the schema.
|
|
15
15
|
*/
|
|
@@ -18,8 +18,8 @@ export interface SchemaStub {
|
|
|
18
18
|
/** @ignore */
|
|
19
19
|
export declare namespace _SchemaStubTransformation {
|
|
20
20
|
interface AsJson {
|
|
21
|
-
schemaId: string;
|
|
22
21
|
latestSchemaVersion: string;
|
|
22
|
+
schemaId: string;
|
|
23
23
|
displayName: string;
|
|
24
24
|
}
|
|
25
25
|
function fromJson(model: AsJson): SchemaStub;
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropertyDefinition } from './property-definition';
|
|
1
|
+
import { PropertyDefinition, _PropertyDefinitionTransformation } from './property-definition';
|
|
2
2
|
/**
|
|
3
3
|
* Definition of properties that can be persisted.
|
|
4
4
|
*/
|
|
@@ -8,7 +8,7 @@ export interface SchemaTypeProperties {
|
|
|
8
8
|
/** @ignore */
|
|
9
9
|
export declare namespace _SchemaTypePropertiesTransformation {
|
|
10
10
|
interface AsJson {
|
|
11
|
-
[propName: string]:
|
|
11
|
+
[propName: string]: _PropertyDefinitionTransformation.AsJson | undefined;
|
|
12
12
|
}
|
|
13
13
|
function fromJson(model: AsJson): SchemaTypeProperties;
|
|
14
14
|
function toJson(model: SchemaTypeProperties): AsJson;
|
|
@@ -14,14 +14,14 @@ export interface SchemaType {
|
|
|
14
14
|
* The pattern for the summary search(for example, "Alert after *X* minutes.") of the configuration in the UI.
|
|
15
15
|
*/
|
|
16
16
|
searchPattern?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The version of the type.
|
|
19
|
-
*/
|
|
20
|
-
version: string;
|
|
21
17
|
/**
|
|
22
18
|
* A short description of the version.
|
|
23
19
|
*/
|
|
24
20
|
versionInfo?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The version of the type.
|
|
23
|
+
*/
|
|
24
|
+
version: string;
|
|
25
25
|
properties: SchemaTypeProperties;
|
|
26
26
|
/**
|
|
27
27
|
* A list of constraints limiting the values to be accepted.
|
|
@@ -45,8 +45,8 @@ export declare namespace _SchemaTypeTransformation {
|
|
|
45
45
|
interface AsJson {
|
|
46
46
|
summaryPattern: string;
|
|
47
47
|
searchPattern?: string;
|
|
48
|
-
version: string;
|
|
49
48
|
versionInfo?: string;
|
|
49
|
+
version: string;
|
|
50
50
|
properties: _SchemaTypePropertiesTransformation.AsJson;
|
|
51
51
|
constraints?: _ComplexConstraintTransformation.AsJson[];
|
|
52
52
|
documentation: string;
|
|
@@ -8,9 +8,9 @@ export interface SecurityProblemEventsList {
|
|
|
8
8
|
*/
|
|
9
9
|
events?: SecurityProblemEvent[];
|
|
10
10
|
/**
|
|
11
|
-
* The number of entries
|
|
11
|
+
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
totalCount: number;
|
|
14
14
|
/**
|
|
15
15
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
16
16
|
*
|
|
@@ -18,17 +18,17 @@ export interface SecurityProblemEventsList {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The number of entries per page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _SecurityProblemEventsListTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
events?: _SecurityProblemEventTransformation.AsJson[];
|
|
29
|
-
pageSize?: number;
|
|
30
|
-
nextPageKey?: string;
|
|
31
29
|
totalCount: number;
|
|
30
|
+
nextPageKey?: string;
|
|
31
|
+
pageSize?: number;
|
|
32
32
|
}
|
|
33
33
|
function fromJson(model: AsJson): SecurityProblemEventsList;
|
|
34
34
|
function toJson(model: SecurityProblemEventsList): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts
CHANGED
|
@@ -13,14 +13,14 @@ export interface SettingsObjectCreate {
|
|
|
13
13
|
* Only applicable for objects based on schemas with ordered objects (schema's **ordered** parameter is set to `true`).
|
|
14
14
|
*/
|
|
15
15
|
insertAfter?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The version of the schema on which the object is based.
|
|
18
|
-
*/
|
|
19
|
-
schemaVersion?: string;
|
|
20
16
|
/**
|
|
21
17
|
* External identifier for the object being created
|
|
22
18
|
*/
|
|
23
19
|
externalId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The version of the schema on which the object is based.
|
|
22
|
+
*/
|
|
23
|
+
schemaVersion?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The schema on which the object is based.
|
|
26
26
|
*/
|
|
@@ -37,8 +37,8 @@ export interface SettingsObjectCreate {
|
|
|
37
37
|
export declare namespace _SettingsObjectCreateTransformation {
|
|
38
38
|
interface AsJson {
|
|
39
39
|
insertAfter?: string;
|
|
40
|
-
schemaVersion?: string;
|
|
41
40
|
externalId?: string;
|
|
41
|
+
schemaVersion?: string;
|
|
42
42
|
schemaId: string;
|
|
43
43
|
scope?: string;
|
|
44
44
|
value: _SettingsValueTransformation.AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts
CHANGED
|
@@ -4,24 +4,24 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
|
|
|
4
4
|
* The response to a creation- or update-request.
|
|
5
5
|
*/
|
|
6
6
|
export interface SettingsObjectResponse {
|
|
7
|
+
/**
|
|
8
|
+
* For a successful request, the ID of the created or modified settings object.
|
|
9
|
+
*/
|
|
10
|
+
objectId?: string;
|
|
7
11
|
invalidValue?: SettingsValue;
|
|
8
12
|
/**
|
|
9
13
|
* The HTTP status code for the object.
|
|
10
14
|
*/
|
|
11
15
|
code: number;
|
|
12
16
|
error?: Error;
|
|
13
|
-
/**
|
|
14
|
-
* For a successful request, the ID of the created or modified settings object.
|
|
15
|
-
*/
|
|
16
|
-
objectId?: string;
|
|
17
17
|
}
|
|
18
18
|
/** @ignore */
|
|
19
19
|
export declare namespace _SettingsObjectResponseTransformation {
|
|
20
20
|
interface AsJson {
|
|
21
|
+
objectId?: string;
|
|
21
22
|
invalidValue?: _SettingsValueTransformation.AsJson;
|
|
22
23
|
code: number;
|
|
23
24
|
error?: _ErrorTransformation.AsJson;
|
|
24
|
-
objectId?: string;
|
|
25
25
|
}
|
|
26
26
|
function fromJson(model: AsJson): SettingsObjectResponse;
|
|
27
27
|
function toJson(model: SettingsObjectResponse): AsJson;
|
|
@@ -4,21 +4,13 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface SettingsObject {
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
8
|
-
*/
|
|
9
|
-
schemaVersion?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The update token of the object. You can use it to detect simultaneous modifications by different users.
|
|
12
|
-
*
|
|
13
|
-
* It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.
|
|
14
|
-
*
|
|
15
|
-
* If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
|
|
7
|
+
* The ID of the settings object.
|
|
16
8
|
*/
|
|
17
|
-
|
|
9
|
+
objectId?: string;
|
|
18
10
|
/**
|
|
19
|
-
* The timestamp of the
|
|
11
|
+
* The timestamp of the creation.
|
|
20
12
|
*/
|
|
21
|
-
|
|
13
|
+
created?: number;
|
|
22
14
|
/**
|
|
23
15
|
* The external identifier of the settings object.
|
|
24
16
|
*/
|
|
@@ -28,13 +20,25 @@ export interface SettingsObject {
|
|
|
28
20
|
*/
|
|
29
21
|
author?: string;
|
|
30
22
|
/**
|
|
31
|
-
* The
|
|
23
|
+
* The timestamp of the last modification.
|
|
32
24
|
*/
|
|
33
|
-
|
|
25
|
+
modified?: number;
|
|
34
26
|
/**
|
|
35
|
-
* The
|
|
27
|
+
* The version of the schema on which the object is based.
|
|
36
28
|
*/
|
|
37
|
-
|
|
29
|
+
schemaVersion?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The update token of the object. You can use it to detect simultaneous modifications by different users.
|
|
32
|
+
*
|
|
33
|
+
* It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.
|
|
34
|
+
*
|
|
35
|
+
* If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
|
|
36
|
+
*/
|
|
37
|
+
updateToken?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The schema on which the object is based.
|
|
40
|
+
*/
|
|
41
|
+
schemaId?: string;
|
|
38
42
|
/**
|
|
39
43
|
* The scope that the object targets.
|
|
40
44
|
*/
|
|
@@ -44,25 +48,21 @@ export interface SettingsObject {
|
|
|
44
48
|
* A short summary of settings.
|
|
45
49
|
*/
|
|
46
50
|
summary?: string;
|
|
47
|
-
/**
|
|
48
|
-
* The ID of the settings object.
|
|
49
|
-
*/
|
|
50
|
-
objectId?: string;
|
|
51
51
|
}
|
|
52
52
|
/** @ignore */
|
|
53
53
|
export declare namespace _SettingsObjectTransformation {
|
|
54
54
|
interface AsJson {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
modified?: number;
|
|
55
|
+
objectId?: string;
|
|
56
|
+
created?: number;
|
|
58
57
|
externalId?: string;
|
|
59
58
|
author?: string;
|
|
59
|
+
modified?: number;
|
|
60
|
+
schemaVersion?: string;
|
|
61
|
+
updateToken?: string;
|
|
60
62
|
schemaId?: string;
|
|
61
|
-
created?: number;
|
|
62
63
|
scope?: string;
|
|
63
64
|
value?: _SettingsValueTransformation.AsJson;
|
|
64
65
|
summary?: string;
|
|
65
|
-
objectId?: string;
|
|
66
66
|
}
|
|
67
67
|
function fromJson(model: AsJson): SettingsObject;
|
|
68
68
|
function toJson(model: SettingsObject): AsJson;
|
|
@@ -8,9 +8,9 @@ export interface SLOs {
|
|
|
8
8
|
*/
|
|
9
9
|
slo?: SLO[];
|
|
10
10
|
/**
|
|
11
|
-
* The number of entries
|
|
11
|
+
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
totalCount: number;
|
|
14
14
|
/**
|
|
15
15
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
16
16
|
*
|
|
@@ -18,17 +18,17 @@ export interface SLOs {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The number of entries per page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _SLOsTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
slo?: _SLOTransformation.AsJson[];
|
|
29
|
-
pageSize?: number;
|
|
30
|
-
nextPageKey?: string;
|
|
31
29
|
totalCount: number;
|
|
30
|
+
nextPageKey?: string;
|
|
31
|
+
pageSize?: number;
|
|
32
32
|
}
|
|
33
33
|
function fromJson(model: AsJson): SLOs;
|
|
34
34
|
function toJson(model: SLOs): AsJson;
|
|
@@ -3,14 +3,6 @@ import { SloBurnRateBurnRateType, _SloBurnRateBurnRateTypeTransformation } from
|
|
|
3
3
|
* Error budget burn rate evaluation of a service-level objective (SLO).
|
|
4
4
|
*/
|
|
5
5
|
export interface SloBurnRate {
|
|
6
|
-
/**
|
|
7
|
-
* The calculated value of the SLO for the timeframe chosen for the burn rate calculation.
|
|
8
|
-
*/
|
|
9
|
-
sloValue?: number;
|
|
10
|
-
/**
|
|
11
|
-
* The estimated time left to consume the error budget in hours.
|
|
12
|
-
*/
|
|
13
|
-
estimatedTimeToConsumeErrorBudget?: number;
|
|
14
6
|
/**
|
|
15
7
|
* The error budget burn rate visualization is enabled (`true`) or disabled (`false`).
|
|
16
8
|
*
|
|
@@ -21,6 +13,14 @@ export interface SloBurnRate {
|
|
|
21
13
|
* The threshold between a slow and a fast burn rate.
|
|
22
14
|
*/
|
|
23
15
|
fastBurnThreshold?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The calculated value of the SLO for the timeframe chosen for the burn rate calculation.
|
|
18
|
+
*/
|
|
19
|
+
sloValue?: number;
|
|
20
|
+
/**
|
|
21
|
+
* The estimated time left to consume the error budget in hours.
|
|
22
|
+
*/
|
|
23
|
+
estimatedTimeToConsumeErrorBudget?: number;
|
|
24
24
|
burnRateType?: SloBurnRateBurnRateType;
|
|
25
25
|
/**
|
|
26
26
|
* The burn rate of the SLO, calculated for the last hour.
|
|
@@ -30,10 +30,10 @@ export interface SloBurnRate {
|
|
|
30
30
|
/** @ignore */
|
|
31
31
|
export declare namespace _SloBurnRateTransformation {
|
|
32
32
|
interface AsJson {
|
|
33
|
-
sloValue?: number;
|
|
34
|
-
estimatedTimeToConsumeErrorBudget?: number;
|
|
35
33
|
burnRateVisualizationEnabled?: boolean;
|
|
36
34
|
fastBurnThreshold?: number;
|
|
35
|
+
sloValue?: number;
|
|
36
|
+
estimatedTimeToConsumeErrorBudget?: number;
|
|
37
37
|
burnRateType?: _SloBurnRateBurnRateTypeTransformation.AsJson;
|
|
38
38
|
burnRateValue?: number;
|
|
39
39
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts
CHANGED
|
@@ -21,26 +21,6 @@ export interface SloConfigItemDtoImpl {
|
|
|
21
21
|
* The percentage-based metric expression for the calculation of the SLO.
|
|
22
22
|
*/
|
|
23
23
|
metricExpression?: string;
|
|
24
|
-
evaluationType?: SloConfigItemDtoImplEvaluationType;
|
|
25
|
-
/**
|
|
26
|
-
* The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector).
|
|
27
|
-
*/
|
|
28
|
-
filter?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The target value of the SLO.
|
|
31
|
-
*/
|
|
32
|
-
target?: number;
|
|
33
|
-
/**
|
|
34
|
-
* The warning value of the SLO.
|
|
35
|
-
*
|
|
36
|
-
* At warning state the SLO is still fulfilled but is getting close to failure.
|
|
37
|
-
*/
|
|
38
|
-
warning?: number;
|
|
39
|
-
errorBudgetBurnRate?: SloBurnRateConfig;
|
|
40
|
-
/**
|
|
41
|
-
* The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
|
|
42
|
-
*/
|
|
43
|
-
timeframe?: string;
|
|
44
24
|
/**
|
|
45
25
|
* The type of the metric to use for SLO calculation:
|
|
46
26
|
*
|
|
@@ -68,6 +48,26 @@ export interface SloConfigItemDtoImpl {
|
|
|
68
48
|
* Required when the **useRateMetric** is set to `false`.
|
|
69
49
|
*/
|
|
70
50
|
metricDenominator?: string;
|
|
51
|
+
evaluationType?: SloConfigItemDtoImplEvaluationType;
|
|
52
|
+
/**
|
|
53
|
+
* The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector).
|
|
54
|
+
*/
|
|
55
|
+
filter?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The target value of the SLO.
|
|
58
|
+
*/
|
|
59
|
+
target?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The warning value of the SLO.
|
|
62
|
+
*
|
|
63
|
+
* At warning state the SLO is still fulfilled but is getting close to failure.
|
|
64
|
+
*/
|
|
65
|
+
warning?: number;
|
|
66
|
+
errorBudgetBurnRate?: SloBurnRateConfig;
|
|
67
|
+
/**
|
|
68
|
+
* The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
|
|
69
|
+
*/
|
|
70
|
+
timeframe?: string;
|
|
71
71
|
}
|
|
72
72
|
/** @ignore */
|
|
73
73
|
export declare namespace _SloConfigItemDtoImplTransformation {
|
|
@@ -77,16 +77,16 @@ export declare namespace _SloConfigItemDtoImplTransformation {
|
|
|
77
77
|
description?: string;
|
|
78
78
|
metricName?: string;
|
|
79
79
|
metricExpression?: string;
|
|
80
|
+
useRateMetric?: boolean | null;
|
|
81
|
+
metricRate?: string;
|
|
82
|
+
metricNumerator?: string;
|
|
83
|
+
metricDenominator?: string;
|
|
80
84
|
evaluationType?: _SloConfigItemDtoImplEvaluationTypeTransformation.AsJson;
|
|
81
85
|
filter?: string;
|
|
82
86
|
target?: number;
|
|
83
87
|
warning?: number;
|
|
84
88
|
errorBudgetBurnRate?: _SloBurnRateConfigTransformation.AsJson;
|
|
85
89
|
timeframe?: string;
|
|
86
|
-
useRateMetric?: boolean | null;
|
|
87
|
-
metricRate?: string;
|
|
88
|
-
metricNumerator?: string;
|
|
89
|
-
metricDenominator?: string;
|
|
90
90
|
}
|
|
91
91
|
function fromJson(model: AsJson): SloConfigItemDtoImpl;
|
|
92
92
|
function toJson(model: SloConfigItemDtoImpl): AsJson;
|