@dynatrace-sdk/client-classic-environment-v2 0.6.4 → 0.6.8

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 (158) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +39 -0
  3. package/cjs/index.js +3626 -814
  4. package/docs/DOCS.md +9170 -4780
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +3626 -814
  7. package/package.json +2 -2
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +5 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +8 -7
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +14 -10
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +17 -0
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +162 -0
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +2 -0
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +4 -4
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +8 -7
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +25 -11
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +21 -21
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +59 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +6 -6
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +77 -12
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +4 -4
  24. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +3 -3
  25. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +0 -1
  26. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -6
  27. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +5 -5
  28. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +5 -5
  29. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +0 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +0 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -6
  32. package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +13 -13
  33. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +35 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +28 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/asset-schema-details-dto.d.ts +27 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/category-list.d.ts +15 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/category.d.ts +27 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +5 -5
  39. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +5 -5
  40. package/types/packages/client/classic-environment-v2/src/lib/models/constraint-violation-parameter-location.d.ts +1 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +13 -13
  42. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-id.d.ts +17 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +22 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-dto.d.ts +38 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +24 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +43 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +2 -2
  48. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +22 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/description-block-type.d.ts +13 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +36 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +20 -15
  52. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +5 -5
  53. package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +8 -8
  54. package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +5 -5
  55. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +5 -5
  56. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +2 -2
  57. package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +5 -5
  58. package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +2 -2
  59. package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +5 -5
  60. package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +35 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +13 -16
  62. package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +5 -5
  63. package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +5 -5
  64. package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +23 -23
  65. package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +10 -10
  66. package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +5 -5
  67. package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +28 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-feature-sets.d.ts +15 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-notes.d.ts +17 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +69 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +18 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +32 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +28 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-source-auth-method.d.ts +4 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-type.d.ts +2 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +4 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-source-auth-method.d.ts +4 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +4 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +2 -2
  80. package/types/packages/client/classic-environment-v2/src/lib/models/filtered-counts-dto.d.ts +77 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/global-counts-dto.d.ts +72 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +27 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +57 -1
  84. package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +5 -5
  85. package/types/packages/client/classic-environment-v2/src/lib/models/item-details-type.d.ts +14 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +98 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/item-list.d.ts +32 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/item-overview-type.d.ts +14 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +82 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +12 -12
  91. package/types/packages/client/classic-environment-v2/src/lib/models/list-items-query-item-type.d.ts +11 -0
  92. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +4 -4
  94. package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +2 -2
  95. package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +2 -2
  96. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +45 -45
  97. package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +2 -2
  98. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +5 -5
  99. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +22 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +14 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +48 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +29 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +23 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +6 -6
  105. package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +5 -5
  106. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +13 -13
  107. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +23 -23
  108. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -18
  109. package/types/packages/client/classic-environment-v2/src/lib/models/registered-extension-result-dto.d.ts +19 -0
  110. package/types/packages/client/classic-environment-v2/src/lib/models/related-item-type.d.ts +14 -0
  111. package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +33 -0
  112. package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +5 -5
  113. package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +15 -15
  114. package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +10 -10
  115. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary-reason.d.ts +14 -0
  116. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +25 -0
  117. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-reason.d.ts +16 -0
  118. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-response.d.ts +18 -0
  119. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +25 -0
  120. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-reason.d.ts +12 -0
  121. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-response.d.ts +18 -0
  122. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +25 -0
  123. package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +2 -2
  124. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +11 -0
  125. package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +2 -2
  126. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary-reason.d.ts +13 -0
  127. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +25 -0
  128. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +6 -0
  129. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +5 -5
  130. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +2 -2
  131. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +2 -2
  132. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +3 -0
  133. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-reason.d.ts +16 -0
  134. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-response.d.ts +18 -0
  135. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +25 -0
  136. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-reason.d.ts +12 -0
  137. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-response.d.ts +18 -0
  138. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +25 -0
  139. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +24 -17
  140. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +14 -14
  141. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +27 -22
  142. package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
  143. package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +7 -7
  144. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +47 -47
  145. package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +5 -5
  146. package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +5 -5
  147. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-processing-mode.d.ts +16 -0
  148. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +1 -1
  149. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +3 -0
  150. package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +17 -0
  151. package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
  152. package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +5 -5
  153. package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +5 -5
  154. package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +15 -15
  155. package/types/packages/client/classic-environment-v2/src/lib/models/upload-metadata-for-extension-body.d.ts +25 -0
  156. package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -1
  157. package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +1 -0
  158. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +0 -32
@@ -0,0 +1,98 @@
1
+ import { DescriptionBlock, _DescriptionBlockTransformation } from './description-block';
2
+ import { Extension1Details, _Extension1DetailsTransformation } from './extension1-details';
3
+ import { Extension2Details, _Extension2DetailsTransformation } from './extension2-details';
4
+ import { ItemDetailsType, _ItemDetailsTypeTransformation } from './item-details-type';
5
+ import { RelatedItem, _RelatedItemTransformation } from './related-item';
6
+ import { TechnologyDetails, _TechnologyDetailsTransformation } from './technology-details';
7
+ /**
8
+ * Public metadata for an item.
9
+ */
10
+ export interface ItemDetails {
11
+ type?: ItemDetailsType;
12
+ /**
13
+ * Unique Id of the item.
14
+ */
15
+ itemId?: string;
16
+ /**
17
+ * Name of the item.
18
+ */
19
+ name?: string;
20
+ /**
21
+ * Description of the item.
22
+ */
23
+ description?: string;
24
+ /**
25
+ * Grouping of items with keywords.
26
+ */
27
+ tags?: string[];
28
+ /**
29
+ * Name of the author of the item.
30
+ */
31
+ authorName?: string;
32
+ /**
33
+ * Url for the author's logo.
34
+ */
35
+ authorLogo?: string;
36
+ /**
37
+ * Checks if the item is compatible with the cluster version.
38
+ */
39
+ clusterCompatible?: boolean;
40
+ /**
41
+ * The minimum cluster version required to use this item.
42
+ */
43
+ clusterMinVersion?: number;
44
+ /**
45
+ * The maximum supported cluster version for this item.
46
+ */
47
+ clusterMaxVersion?: number;
48
+ /**
49
+ * The reason why the item is not compatible with the cluster version.
50
+ */
51
+ notCompatibleReason?: string;
52
+ descriptionBlocks?: DescriptionBlock[];
53
+ /**
54
+ * An absolute link to a documentation page explaining the item.
55
+ */
56
+ documentationLink?: string;
57
+ /**
58
+ * An absolute link to a marketing page promoting how the item can be used with dynatrace.
59
+ */
60
+ marketingLink?: string;
61
+ technologyDetails?: TechnologyDetails;
62
+ extension1Details?: Extension1Details;
63
+ extension2Details?: Extension2Details;
64
+ /**
65
+ * The logo of the item. Can be a URL or Base64 encoded. Intended for <image> html tags.
66
+ */
67
+ logo?: string;
68
+ /**
69
+ * Related items.
70
+ */
71
+ relatedItems?: RelatedItem[];
72
+ }
73
+ /** @ignore */
74
+ export declare namespace _ItemDetailsTransformation {
75
+ interface AsJson {
76
+ type?: _ItemDetailsTypeTransformation.AsJson;
77
+ itemId?: string;
78
+ name?: string;
79
+ description?: string;
80
+ tags?: string[];
81
+ authorName?: string;
82
+ authorLogo?: string;
83
+ clusterCompatible?: boolean;
84
+ clusterMinVersion?: number;
85
+ clusterMaxVersion?: number;
86
+ notCompatibleReason?: string;
87
+ descriptionBlocks?: _DescriptionBlockTransformation.AsJson[];
88
+ documentationLink?: string;
89
+ marketingLink?: string;
90
+ technologyDetails?: _TechnologyDetailsTransformation.AsJson;
91
+ extension1Details?: _Extension1DetailsTransformation.AsJson;
92
+ extension2Details?: _Extension2DetailsTransformation.AsJson;
93
+ logo?: string;
94
+ relatedItems?: _RelatedItemTransformation.AsJson[];
95
+ }
96
+ function fromJson(model: AsJson): ItemDetails;
97
+ function toJson(model: ItemDetails): AsJson;
98
+ }
@@ -0,0 +1,32 @@
1
+ import { ItemOverview, _ItemOverviewTransformation } from './item-overview';
2
+ export interface ItemList {
3
+ /**
4
+ * A list of available items.
5
+ */
6
+ items?: ItemOverview[];
7
+ /**
8
+ * The total number of entries in the result.
9
+ */
10
+ totalCount: number;
11
+ /**
12
+ * The number of entries per page.
13
+ */
14
+ pageSize?: number;
15
+ /**
16
+ * The cursor for the next page of results. Has the value of `null` on the last page.
17
+ *
18
+ * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
19
+ */
20
+ nextPageKey?: string;
21
+ }
22
+ /** @ignore */
23
+ export declare namespace _ItemListTransformation {
24
+ interface AsJson {
25
+ items?: _ItemOverviewTransformation.AsJson[];
26
+ totalCount: number;
27
+ pageSize?: number;
28
+ nextPageKey?: string;
29
+ }
30
+ function fromJson(model: AsJson): ItemList;
31
+ function toJson(model: ItemList): AsJson;
32
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Represents the type of item. It can be TECHNOLOGY, EXTENSION1 or EXTENSION2.
3
+ */
4
+ export declare enum ItemOverviewType {
5
+ Extension1 = "EXTENSION1",
6
+ Extension2 = "EXTENSION2",
7
+ Technology = "TECHNOLOGY"
8
+ }
9
+ /** @ignore */
10
+ export declare namespace _ItemOverviewTypeTransformation {
11
+ type AsJson = ItemOverviewType;
12
+ const toJson: (value: ItemOverviewType) => AsJson;
13
+ const fromJson: (value: AsJson) => ItemOverviewType;
14
+ }
@@ -0,0 +1,82 @@
1
+ import { ItemOverviewType, _ItemOverviewTypeTransformation } from './item-overview-type';
2
+ /**
3
+ * Overview of an item.
4
+ */
5
+ export interface ItemOverview {
6
+ type?: ItemOverviewType;
7
+ /**
8
+ * Unique Id of the item.
9
+ */
10
+ itemId?: string;
11
+ /**
12
+ * Name of the item.
13
+ */
14
+ name?: string;
15
+ /**
16
+ * Description of the item.
17
+ */
18
+ description?: string;
19
+ /**
20
+ * Grouping of items with keywords.
21
+ */
22
+ tags?: string[];
23
+ /**
24
+ * Name of the author of the item.
25
+ */
26
+ authorName?: string;
27
+ /**
28
+ * Url for the author's logo.
29
+ */
30
+ authorLogo?: string;
31
+ /**
32
+ * The reason why the item is not compatible with the cluster version.
33
+ */
34
+ notCompatibleReason?: string;
35
+ /**
36
+ * An absolute link to the documentation page of this item.
37
+ */
38
+ documentationLink?: string;
39
+ /**
40
+ * An absolute link to the marketing page of this item.
41
+ */
42
+ marketingLink?: string;
43
+ /**
44
+ * Whether or not the details call will contain description blocks.
45
+ */
46
+ hasDescriptionBlocks?: boolean;
47
+ /**
48
+ * Whether or not the item is planned to be released soon
49
+ */
50
+ comingSoon?: boolean;
51
+ /**
52
+ * The unique ID used by the artifacts contained in releases.
53
+ */
54
+ artifactId?: string;
55
+ /**
56
+ * The logo of the item. Can be a URL or Base64 encoded. Intended for <image> html tags
57
+ */
58
+ logo?: string;
59
+ clusterCompatible?: boolean;
60
+ }
61
+ /** @ignore */
62
+ export declare namespace _ItemOverviewTransformation {
63
+ interface AsJson {
64
+ type?: _ItemOverviewTypeTransformation.AsJson;
65
+ itemId?: string;
66
+ name?: string;
67
+ description?: string;
68
+ tags?: string[];
69
+ authorName?: string;
70
+ authorLogo?: string;
71
+ notCompatibleReason?: string;
72
+ documentationLink?: string;
73
+ marketingLink?: string;
74
+ hasDescriptionBlocks?: boolean;
75
+ comingSoon?: boolean;
76
+ artifactId?: string;
77
+ logo?: string;
78
+ clusterCompatible?: boolean;
79
+ }
80
+ function fromJson(model: AsJson): ItemOverview;
81
+ function toJson(model: ItemOverview): AsJson;
82
+ }
@@ -7,21 +7,24 @@ import { UiCustomization, _UiCustomizationTransformation } from './ui-customizat
7
7
  * An item of a collection property.
8
8
  */
9
9
  export interface Item {
10
- /**
11
- * The type referenced by the item's value.
12
- */
13
- referencedType?: string;
14
10
  /**
15
11
  * An extended description and/or links to documentation.
16
12
  */
17
13
  documentation?: string;
18
14
  uiCustomization?: UiCustomization;
19
15
  datasource?: DatasourceDefinition;
16
+ /**
17
+ * The type referenced by the item's value.
18
+ */
19
+ referencedType?: string;
20
+ /**
21
+ * The subtype of the item's value.
22
+ */
23
+ subType?: string;
20
24
  /**
21
25
  * The display name of the item.
22
26
  */
23
27
  displayName?: string;
24
- type: ItemType;
25
28
  /**
26
29
  * A short description of the item.
27
30
  */
@@ -31,24 +34,21 @@ export interface Item {
31
34
  * A list of constraints limiting the values to be accepted.
32
35
  */
33
36
  constraints?: Constraint[];
34
- /**
35
- * The subtype of the item's value.
36
- */
37
- subType?: string;
37
+ type: ItemType;
38
38
  }
39
39
  /** @ignore */
40
40
  export declare namespace _ItemTransformation {
41
41
  interface AsJson {
42
- referencedType?: string;
43
42
  documentation?: string;
44
43
  uiCustomization?: _UiCustomizationTransformation.AsJson;
45
44
  datasource?: _DatasourceDefinitionTransformation.AsJson;
45
+ referencedType?: string;
46
+ subType?: string;
46
47
  displayName?: string;
47
- type: _ItemTypeTransformation.AsJson;
48
48
  description?: string;
49
49
  metadata?: _ItemMetadataTransformation.AsJson;
50
50
  constraints?: _ConstraintTransformation.AsJson[];
51
- subType?: string;
51
+ type: _ItemTypeTransformation.AsJson;
52
52
  }
53
53
  function fromJson(model: AsJson): Item;
54
54
  function toJson(model: Item): AsJson;
@@ -0,0 +1,11 @@
1
+ export declare enum ListItemsQueryItemType {
2
+ Extension1 = "EXTENSION1",
3
+ Extension2 = "EXTENSION2",
4
+ Technology = "TECHNOLOGY"
5
+ }
6
+ /** @ignore */
7
+ export declare namespace _ListItemsQueryItemTypeTransformation {
8
+ type AsJson = ListItemsQueryItemType;
9
+ const toJson: (value: ListItemsQueryItemType) => AsJson;
10
+ const fromJson: (value: AsJson) => ListItemsQueryItemType;
11
+ }
@@ -149,6 +149,10 @@ Supported semantic attribute keys:
149
149
  * gcp.project.id
150
150
  * gcp.region
151
151
  * gcp.resource.type
152
+ * geo.city_name
153
+ * geo.country_name
154
+ * geo.name
155
+ * geo.region_name
152
156
  * host.hostname
153
157
  * host.id
154
158
  * host.image.id
@@ -6,25 +6,25 @@ import { LogRecordStatus, _LogRecordStatusTransformation } from './log-record-st
6
6
  */
7
7
  export interface LogRecord {
8
8
  additionalColumns?: LogRecordAdditionalColumns;
9
- eventType?: LogRecordEventType;
10
9
  /**
11
10
  * The timestamp of the log record, in UTC milliseconds.
12
11
  */
13
12
  timestamp?: number;
13
+ eventType?: LogRecordEventType;
14
+ status?: LogRecordStatus;
14
15
  /**
15
16
  * The content of the log record.
16
17
  */
17
18
  content?: string;
18
- status?: LogRecordStatus;
19
19
  }
20
20
  /** @ignore */
21
21
  export declare namespace _LogRecordTransformation {
22
22
  interface AsJson {
23
23
  additionalColumns?: _LogRecordAdditionalColumnsTransformation.AsJson;
24
- eventType?: _LogRecordEventTypeTransformation.AsJson;
25
24
  timestamp?: number;
26
- content?: string;
25
+ eventType?: _LogRecordEventTypeTransformation.AsJson;
27
26
  status?: _LogRecordStatusTransformation.AsJson;
27
+ content?: string;
28
28
  }
29
29
  function fromJson(model: AsJson): LogRecord;
30
30
  function toJson(model: LogRecord): AsJson;
@@ -24,7 +24,7 @@ export interface MetricData {
24
24
  /**
25
25
  * A list of warnings
26
26
  */
27
- warnings?: string[];
27
+ warnings: string[];
28
28
  }
29
29
  /** @ignore */
30
30
  export declare namespace _MetricDataTransformation {
@@ -33,7 +33,7 @@ export declare namespace _MetricDataTransformation {
33
33
  totalCount: number;
34
34
  nextPageKey?: string;
35
35
  result: _MetricSeriesCollectionTransformation.AsJson[];
36
- warnings?: string[];
36
+ warnings: string[];
37
37
  }
38
38
  function fromJson(model: AsJson): MetricData;
39
39
  function toJson(model: MetricData): AsJson;
@@ -3,19 +3,19 @@ import { MetricDefaultAggregationType, _MetricDefaultAggregationTypeTransformati
3
3
  * The default aggregation of a metric.
4
4
  */
5
5
  export interface MetricDefaultAggregation {
6
- type?: MetricDefaultAggregationType;
7
6
  /**
8
7
  * The percentile to be delivered. Valid values are between `0` and `100`.
9
8
  *
10
9
  * Applicable only to the `percentile` aggregation type.
11
10
  */
12
11
  parameter?: number;
12
+ type: MetricDefaultAggregationType;
13
13
  }
14
14
  /** @ignore */
15
15
  export declare namespace _MetricDefaultAggregationTransformation {
16
16
  interface AsJson {
17
- type?: _MetricDefaultAggregationTypeTransformation.AsJson;
18
17
  parameter?: number;
18
+ type: _MetricDefaultAggregationTypeTransformation.AsJson;
19
19
  }
20
20
  function fromJson(model: AsJson): MetricDefaultAggregation;
21
21
  function toJson(model: MetricDefaultAggregation): AsJson;
@@ -9,6 +9,27 @@ import { MetricValueType, _MetricValueTypeTransformation } from './metric-value-
9
9
  * The descriptor of a metric.
10
10
  */
11
11
  export interface MetricDescriptor {
12
+ defaultAggregation?: MetricDefaultAggregation;
13
+ /**
14
+ * The fine metric division (for example, process group and process ID for some process-related metric).
15
+ *
16
+ * For [ingested metrics](https://dt-url.net/5d63ic1), dimensions that doesn't have have any data within the last 15 days are omitted.
17
+ */
18
+ dimensionDefinitions?: MetricDimensionDefinition[];
19
+ /**
20
+ * The metric is (`true`) or is not (`false`) root cause relevant.
21
+ *
22
+ * A root-cause relevant metric represents a strong indicator for a faulty component.
23
+ *
24
+ * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
25
+ */
26
+ rootCauseRelevant?: boolean;
27
+ /**
28
+ * If `true` the usage of metric consumes [Davis data units](https://dt-url.net/ddu).
29
+ *
30
+ * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
31
+ */
32
+ dduBillable?: boolean;
12
33
  /**
13
34
  * The timestamp when the metric was last written.
14
35
  *
@@ -54,40 +75,6 @@ export interface MetricDescriptor {
54
75
  * If 'true', resolution=Inf can be applied to the metric query.
55
76
  */
56
77
  resolutionInfSupported?: boolean;
57
- defaultAggregation?: MetricDefaultAggregation;
58
- /**
59
- * The fine metric division (for example, process group and process ID for some process-related metric).
60
- *
61
- * For [ingested metrics](https://dt-url.net/5d63ic1), dimensions that doesn't have have any data within the last 15 days are omitted.
62
- */
63
- dimensionDefinitions?: MetricDimensionDefinition[];
64
- /**
65
- * The metric is (`true`) or is not (`false`) root cause relevant.
66
- *
67
- * A root-cause relevant metric represents a strong indicator for a faulty component.
68
- *
69
- * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
70
- */
71
- rootCauseRelevant?: boolean;
72
- /**
73
- * If `true` the usage of metric consumes [Davis data units](https://dt-url.net/ddu).
74
- *
75
- * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
76
- */
77
- dduBillable?: boolean;
78
- metricValueType?: MetricValueType;
79
- /**
80
- * The timestamp of metric creation.
81
- *
82
- * Built-in metrics and metric expressions have the value of `null`.
83
- */
84
- created?: number;
85
- /**
86
- * The tags applied to the metric.
87
- *
88
- * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
89
- */
90
- tags?: string[];
91
78
  /**
92
79
  * List of admissible primary entity types for this metric. Can be used for the `type` predicate in the `entitySelector`.
93
80
  */
@@ -102,15 +89,28 @@ export interface MetricDescriptor {
102
89
  * The metric selector that is used when querying a func: metric.
103
90
  */
104
91
  metricSelector?: string;
92
+ /**
93
+ * Indicates whether the metric expression resolves to a scalar (`true`) or to a series (`false`).
94
+ * A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.
95
+ */
96
+ scalar?: boolean;
105
97
  /**
106
98
  * The list of allowed aggregations for this metric.
107
99
  */
108
100
  aggregationTypes?: MetricDescriptorAggregationTypesItem[];
101
+ metricValueType?: MetricValueType;
109
102
  /**
110
- * Indicates whether the metric expression resolves to a scalar (`true`) or to a series (`false`).
111
- * A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.
103
+ * The timestamp of metric creation.
104
+ *
105
+ * Built-in metrics and metric expressions have the value of `null`.
112
106
  */
113
- scalar?: boolean;
107
+ created?: number;
108
+ /**
109
+ * The tags applied to the metric.
110
+ *
111
+ * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
112
+ */
113
+ tags?: string[];
114
114
  /**
115
115
  * The name of the metric in the user interface.
116
116
  */
@@ -135,6 +135,10 @@ export interface MetricDescriptor {
135
135
  /** @ignore */
136
136
  export declare namespace _MetricDescriptorTransformation {
137
137
  interface AsJson {
138
+ defaultAggregation?: _MetricDefaultAggregationTransformation.AsJson;
139
+ dimensionDefinitions?: _MetricDimensionDefinitionTransformation.AsJson[];
140
+ rootCauseRelevant?: boolean;
141
+ dduBillable?: boolean;
138
142
  lastWritten?: number;
139
143
  impactRelevant?: boolean;
140
144
  minimumValue?: number;
@@ -143,18 +147,14 @@ export declare namespace _MetricDescriptorTransformation {
143
147
  unitDisplayFormat?: _MetricDescriptorUnitDisplayFormatTransformation.AsJson;
144
148
  dimensionCardinalities?: _MetricDimensionCardinalityTransformation.AsJson[];
145
149
  resolutionInfSupported?: boolean;
146
- defaultAggregation?: _MetricDefaultAggregationTransformation.AsJson;
147
- dimensionDefinitions?: _MetricDimensionDefinitionTransformation.AsJson[];
148
- rootCauseRelevant?: boolean;
149
- dduBillable?: boolean;
150
- metricValueType?: _MetricValueTypeTransformation.AsJson;
151
- created?: number;
152
- tags?: string[];
153
150
  entityType?: string[];
154
151
  metricId: string;
155
152
  metricSelector?: string;
156
- aggregationTypes?: _MetricDescriptorAggregationTypesItemTransformation.AsJson[];
157
153
  scalar?: boolean;
154
+ aggregationTypes?: _MetricDescriptorAggregationTypesItemTransformation.AsJson[];
155
+ metricValueType?: _MetricValueTypeTransformation.AsJson;
156
+ created?: number;
157
+ tags?: string[];
158
158
  displayName?: string;
159
159
  description?: string;
160
160
  transformations?: _MetricDescriptorTransformationsItemTransformation.AsJson[];
@@ -1,15 +1,15 @@
1
1
  import { InvalidLine, _InvalidLineTransformation } from './invalid-line';
2
2
  export interface MetricIngestError {
3
3
  invalidLines?: InvalidLine[];
4
- message?: string;
5
4
  code?: number;
5
+ message?: string;
6
6
  }
7
7
  /** @ignore */
8
8
  export declare namespace _MetricIngestErrorTransformation {
9
9
  interface AsJson {
10
10
  invalidLines?: _InvalidLineTransformation.AsJson[];
11
- message?: string;
12
11
  code?: number;
12
+ message?: string;
13
13
  }
14
14
  function fromJson(model: AsJson): MetricIngestError;
15
15
  function toJson(model: MetricIngestError): AsJson;
@@ -4,6 +4,10 @@ import { MetricSeries, _MetricSeriesTransformation } from './metric-series';
4
4
  * Data points of a metric.
5
5
  */
6
6
  export interface MetricSeriesCollection {
7
+ /**
8
+ * The ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
9
+ */
10
+ dimensionCountRatio: number;
7
11
  /**
8
12
  * A list of filtered metric keys along with filters that have been applied to these keys, from the `optionalFilter` parameter.
9
13
  */
@@ -12,10 +16,6 @@ export interface MetricSeriesCollection {
12
16
  * The ratio of queried data points divided by the maximum number of data points per metric that are allowed in a single query.
13
17
  */
14
18
  dataPointCountRatio: number;
15
- /**
16
- * The ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
17
- */
18
- dimensionCountRatio: number;
19
19
  /**
20
20
  * The key of the metric.
21
21
  *
@@ -34,9 +34,9 @@ export interface MetricSeriesCollection {
34
34
  /** @ignore */
35
35
  export declare namespace _MetricSeriesCollectionTransformation {
36
36
  interface AsJson {
37
+ dimensionCountRatio: number;
37
38
  appliedOptionalFilters?: _AppliedFilterTransformation.AsJson[];
38
39
  dataPointCountRatio: number;
39
- dimensionCountRatio: number;
40
40
  metricId: string;
41
41
  data: _MetricSeriesTransformation.AsJson[];
42
42
  warnings?: string[];
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Key-value parameter of the monitoring state.
3
+ */
4
+ export interface MonitoredEntityStateParam {
5
+ /**
6
+ * The value of the monitoring state paramter.
7
+ */
8
+ values?: string;
9
+ /**
10
+ * The key of the monitoring state paramter.
11
+ */
12
+ key?: string;
13
+ }
14
+ /** @ignore */
15
+ export declare namespace _MonitoredEntityStateParamTransformation {
16
+ interface AsJson {
17
+ values?: string;
18
+ key?: string;
19
+ }
20
+ function fromJson(model: AsJson): MonitoredEntityStateParam;
21
+ function toJson(model: MonitoredEntityStateParam): AsJson;
22
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The type of the monitoring state.
3
+ */
4
+ export declare enum MonitoredEntityStatesSeverity {
5
+ Info = "info",
6
+ Ok = "ok",
7
+ Warning = "warning"
8
+ }
9
+ /** @ignore */
10
+ export declare namespace _MonitoredEntityStatesSeverityTransformation {
11
+ type AsJson = MonitoredEntityStatesSeverity;
12
+ const toJson: (value: MonitoredEntityStatesSeverity) => AsJson;
13
+ const fromJson: (value: AsJson) => MonitoredEntityStatesSeverity;
14
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The name of the monitoring state.
3
+ */
4
+ export declare enum MonitoredEntityStatesState {
5
+ AgentInjectionStatusGoDynamizerFailed = "agent_injection_status_go_dynamizer_failed",
6
+ AgentInjectionStatusGoVertigoSupportAdded = "agent_injection_status_go_vertigo_support_added",
7
+ AgentInjectionStatusNginxPatchedBinaryDetected = "agent_injection_status_nginx_patched_binary_detected",
8
+ AgentInjectionStatusPhpOpcacheDisabled = "agent_injection_status_php_opcache_disabled",
9
+ AgentInjectionStatusPhpStackSizeTooLow = "agent_injection_status_php_stack_size_too_low",
10
+ AgentInjectionSuppression = "agent_injection_suppression",
11
+ AixEnableFullMonitoringNeeded = "aix_enable_full_monitoring_needed",
12
+ BadInstaller = "bad_installer",
13
+ BoshbpmDisabled = "boshbpm_disabled",
14
+ ContainerdDisabled = "containerd_disabled",
15
+ CrioDisabled = "crio_disabled",
16
+ CustomPgRuleRequired = "custom_pg_rule_required",
17
+ DeepMonitoringUnsuccessful = "deep_monitoring_unsuccessful",
18
+ DockerDisabled = "docker_disabled",
19
+ GardenDisabled = "garden_disabled",
20
+ HostInfraStructureOnly = "host_infra_structure_only",
21
+ HostMonitoringDisabled = "host_monitoring_disabled",
22
+ NetworkAgentInactive = "network_agent_inactive",
23
+ Ok = "ok",
24
+ ParentProcessRestartRequired = "parent_process_restart_required",
25
+ ProcessGroupDisabled = "process_group_disabled",
26
+ ProcessGroupDisabledViaContainerInjectionRule = "process_group_disabled_via_container_injection_rule",
27
+ ProcessGroupDisabledViaContainerInjectionRuleRestart = "process_group_disabled_via_container_injection_rule_restart",
28
+ ProcessGroupDisabledViaGlobalSettings = "process_group_disabled_via_global_settings",
29
+ ProcessGroupDisabledViaInjectionRule = "process_group_disabled_via_injection_rule",
30
+ ProcessGroupDisabledViaInjectionRuleRestart = "process_group_disabled_via_injection_rule_restart",
31
+ RestartRequired = "restart_required",
32
+ RestartRequiredApache = "restart_required_apache",
33
+ RestartRequiredDockerDeamon = "restart_required_docker_deamon",
34
+ RestartRequiredHostIdInconsistent = "restart_required_host_id_inconsistent",
35
+ RestartRequiredOutdatedAgentApacheUpdate = "restart_required_outdated_agent_apache_update",
36
+ RestartRequiredOutdatedAgentInjected = "restart_required_outdated_agent_injected",
37
+ RestartRequiredUsingDifferentDataStorageDir = "restart_required_using_different_data_storage_dir",
38
+ RestartRequiredUsingDifferentLogPath = "restart_required_using_different_log_path",
39
+ RestartRequiredVirtualizedContainer = "restart_required_virtualized_container",
40
+ UnsupportedState = "unsupported_state",
41
+ WincDisabled = "winc_disabled"
42
+ }
43
+ /** @ignore */
44
+ export declare namespace _MonitoredEntityStatesStateTransformation {
45
+ type AsJson = MonitoredEntityStatesState;
46
+ const toJson: (value: MonitoredEntityStatesState) => AsJson;
47
+ const fromJson: (value: AsJson) => MonitoredEntityStatesState;
48
+ }