oci-logging 2.82.1 → 2.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/lib/client.d.ts +30 -30
  2. package/lib/client.js +30 -30
  3. package/lib/model/create-unified-agent-configuration-details.d.ts +3 -3
  4. package/lib/model/create-unified-agent-configuration-details.js.map +1 -1
  5. package/lib/model/grep-filter-allow-rule.d.ts +33 -0
  6. package/lib/model/grep-filter-allow-rule.js +33 -0
  7. package/lib/model/grep-filter-allow-rule.js.map +1 -0
  8. package/lib/model/grep-filter-deny-rule.d.ts +33 -0
  9. package/lib/model/grep-filter-deny-rule.js +33 -0
  10. package/lib/model/grep-filter-deny-rule.js.map +1 -0
  11. package/lib/model/index.d.ts +54 -0
  12. package/lib/model/index.js +56 -2
  13. package/lib/model/index.js.map +1 -1
  14. package/lib/model/operational-metrics-source.d.ts +1 -1
  15. package/lib/model/record-transformer-pair.d.ts +33 -0
  16. package/lib/model/record-transformer-pair.js +33 -0
  17. package/lib/model/record-transformer-pair.js.map +1 -0
  18. package/lib/model/unified-agent-configuration.d.ts +1 -1
  19. package/lib/model/unified-agent-configuration.js.map +1 -1
  20. package/lib/model/unified-agent-custom-filter.d.ts +42 -0
  21. package/lib/model/unified-agent-custom-filter.js +70 -0
  22. package/lib/model/unified-agent-custom-filter.js.map +1 -0
  23. package/lib/model/unified-agent-custom-plugin-log-source.d.ts +32 -0
  24. package/lib/model/unified-agent-custom-plugin-log-source.js +58 -0
  25. package/lib/model/unified-agent-custom-plugin-log-source.js.map +1 -0
  26. package/lib/model/unified-agent-custom-section.d.ts +35 -0
  27. package/lib/model/unified-agent-custom-section.js +33 -0
  28. package/lib/model/unified-agent-custom-section.js.map +1 -0
  29. package/lib/model/unified-agent-kubernetes-configuration-details.d.ts +31 -0
  30. package/lib/model/unified-agent-kubernetes-configuration-details.js +78 -0
  31. package/lib/model/unified-agent-kubernetes-configuration-details.js.map +1 -0
  32. package/lib/model/unified-agent-kubernetes-filter.d.ts +36 -0
  33. package/lib/model/unified-agent-kubernetes-filter.js +58 -0
  34. package/lib/model/unified-agent-kubernetes-filter.js.map +1 -0
  35. package/lib/model/unified-agent-kubernetes-scrape-target.d.ts +52 -0
  36. package/lib/model/unified-agent-kubernetes-scrape-target.js +45 -0
  37. package/lib/model/unified-agent-kubernetes-scrape-target.js.map +1 -0
  38. package/lib/model/unified-agent-kubernetes-source.d.ts +34 -0
  39. package/lib/model/unified-agent-kubernetes-source.js +65 -0
  40. package/lib/model/unified-agent-kubernetes-source.js.map +1 -0
  41. package/lib/model/unified-agent-logging-configuration.d.ts +4 -0
  42. package/lib/model/unified-agent-logging-configuration.js +10 -0
  43. package/lib/model/unified-agent-logging-configuration.js.map +1 -1
  44. package/lib/model/unified-agent-logging-filter.d.ts +30 -0
  45. package/lib/model/unified-agent-logging-filter.js +84 -0
  46. package/lib/model/unified-agent-logging-filter.js.map +1 -0
  47. package/lib/model/unified-agent-logging-grep-filter.d.ts +38 -0
  48. package/lib/model/unified-agent-logging-grep-filter.js +80 -0
  49. package/lib/model/unified-agent-logging-grep-filter.js.map +1 -0
  50. package/lib/model/unified-agent-logging-record-transformer-filter.d.ts +58 -0
  51. package/lib/model/unified-agent-logging-record-transformer-filter.js +70 -0
  52. package/lib/model/unified-agent-logging-record-transformer-filter.js.map +1 -0
  53. package/lib/model/unified-agent-logging-source.js +4 -0
  54. package/lib/model/unified-agent-logging-source.js.map +1 -1
  55. package/lib/model/unified-agent-monitoring-application-configuration-details.d.ts +26 -0
  56. package/lib/model/unified-agent-monitoring-application-configuration-details.js +80 -0
  57. package/lib/model/unified-agent-monitoring-application-configuration-details.js.map +1 -0
  58. package/lib/model/unified-agent-monitoring-configuration-details.d.ts +32 -0
  59. package/lib/model/unified-agent-monitoring-configuration-details.js +70 -0
  60. package/lib/model/unified-agent-monitoring-configuration-details.js.map +1 -0
  61. package/lib/model/unified-agent-monitoring-destination.d.ts +33 -0
  62. package/lib/model/unified-agent-monitoring-destination.js +33 -0
  63. package/lib/model/unified-agent-monitoring-destination.js.map +1 -0
  64. package/lib/model/unified-agent-monitoring-filter.d.ts +30 -0
  65. package/lib/model/unified-agent-monitoring-filter.js +76 -0
  66. package/lib/model/unified-agent-monitoring-filter.js.map +1 -0
  67. package/lib/model/unified-agent-monitoring-source-types.d.ts +33 -0
  68. package/lib/model/unified-agent-monitoring-source-types.js +44 -0
  69. package/lib/model/unified-agent-monitoring-source-types.js.map +1 -0
  70. package/lib/model/unified-agent-monitoring-url-source.d.ts +34 -0
  71. package/lib/model/unified-agent-monitoring-url-source.js +65 -0
  72. package/lib/model/unified-agent-monitoring-url-source.js.map +1 -0
  73. package/lib/model/unified-agent-openmetrics-parser-record.d.ts +40 -0
  74. package/lib/model/unified-agent-openmetrics-parser-record.js +33 -0
  75. package/lib/model/unified-agent-openmetrics-parser-record.js.map +1 -0
  76. package/lib/model/unified-agent-openmetrics-parser.d.ts +29 -0
  77. package/lib/model/unified-agent-openmetrics-parser.js +66 -0
  78. package/lib/model/unified-agent-openmetrics-parser.js.map +1 -0
  79. package/lib/model/unified-agent-openmetrics-tail-configuration-details.d.ts +33 -0
  80. package/lib/model/unified-agent-openmetrics-tail-configuration-details.js +76 -0
  81. package/lib/model/unified-agent-openmetrics-tail-configuration-details.js.map +1 -0
  82. package/lib/model/unified-agent-parser-filter.d.ts +66 -0
  83. package/lib/model/unified-agent-parser-filter.js +64 -0
  84. package/lib/model/unified-agent-parser-filter.js.map +1 -0
  85. package/lib/model/unified-agent-parser.js +4 -0
  86. package/lib/model/unified-agent-parser.js.map +1 -1
  87. package/lib/model/unified-agent-service-configuration-details.js +4 -0
  88. package/lib/model/unified-agent-service-configuration-details.js.map +1 -1
  89. package/lib/model/unified-agent-service-configuration-types.d.ts +1 -0
  90. package/lib/model/unified-agent-service-configuration-types.js +1 -0
  91. package/lib/model/unified-agent-service-configuration-types.js.map +1 -1
  92. package/lib/model/unified-agent-tail-log-source.d.ts +2 -1
  93. package/lib/model/unified-agent-tail-log-source.js +7 -1
  94. package/lib/model/unified-agent-tail-log-source.js.map +1 -1
  95. package/lib/model/unified-agent-tail-source-advanced-options.d.ts +29 -0
  96. package/lib/model/unified-agent-tail-source-advanced-options.js +33 -0
  97. package/lib/model/unified-agent-tail-source-advanced-options.js.map +1 -0
  98. package/lib/model/unified-agent-url-configuration-details.d.ts +31 -0
  99. package/lib/model/unified-agent-url-configuration-details.js +76 -0
  100. package/lib/model/unified-agent-url-configuration-details.js.map +1 -0
  101. package/lib/model/unified-agent-url-filter.d.ts +36 -0
  102. package/lib/model/unified-agent-url-filter.js +58 -0
  103. package/lib/model/unified-agent-url-filter.js.map +1 -0
  104. package/lib/model/unified-agent-url-scrape-target.d.ts +33 -0
  105. package/lib/model/unified-agent-url-scrape-target.js +33 -0
  106. package/lib/model/unified-agent-url-scrape-target.js.map +1 -0
  107. package/lib/model/unified-js-on-parser.d.ts +8 -0
  108. package/lib/model/unified-js-on-parser.js.map +1 -1
  109. package/lib/model/update-unified-agent-configuration-details.d.ts +1 -1
  110. package/lib/model/update-unified-agent-configuration-details.js.map +1 -1
  111. package/lib/request/change-log-group-compartment-request.d.ts +1 -1
  112. package/lib/request/change-log-log-group-request.d.ts +1 -1
  113. package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
  114. package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
  115. package/lib/request/create-log-group-request.d.ts +1 -1
  116. package/lib/request/create-log-request.d.ts +1 -1
  117. package/lib/request/create-log-saved-search-request.d.ts +1 -1
  118. package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
  119. package/lib/request/delete-log-group-request.d.ts +1 -1
  120. package/lib/request/delete-log-request.d.ts +1 -1
  121. package/lib/request/delete-log-saved-search-request.d.ts +1 -1
  122. package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
  123. package/lib/request/delete-work-request-request.d.ts +1 -1
  124. package/lib/request/get-log-group-request.d.ts +1 -1
  125. package/lib/request/get-log-request.d.ts +1 -1
  126. package/lib/request/get-log-saved-search-request.d.ts +1 -1
  127. package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
  128. package/lib/request/get-work-request-request.d.ts +1 -1
  129. package/lib/request/list-log-groups-request.d.ts +1 -1
  130. package/lib/request/list-log-saved-searches-request.d.ts +1 -1
  131. package/lib/request/list-logs-request.d.ts +1 -1
  132. package/lib/request/list-services-request.d.ts +1 -1
  133. package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
  134. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  135. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  136. package/lib/request/list-work-requests-request.d.ts +1 -1
  137. package/lib/request/update-log-group-request.d.ts +1 -1
  138. package/lib/request/update-log-request.d.ts +1 -1
  139. package/lib/request/update-log-saved-search-request.d.ts +1 -1
  140. package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
  141. package/package.json +3 -3
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ import * as model from "../model";
18
+ /**
19
+ * User-customized-source-plugin log source object.
20
+ */
21
+ export interface UnifiedAgentCustomPluginLogSource extends model.UnifiedAgentLoggingSource {
22
+ /**
23
+ * User customized source plugin.
24
+ */
25
+ "customPlugin": string;
26
+ "sourceType": string;
27
+ }
28
+ export declare namespace UnifiedAgentCustomPluginLogSource {
29
+ function getJsonObj(obj: UnifiedAgentCustomPluginLogSource, isParentJsonObj?: boolean): object;
30
+ const sourceType = "CUSTOM_PLUGIN";
31
+ function getDeserializedJsonObj(obj: UnifiedAgentCustomPluginLogSource, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
21
+ }) : (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ }));
25
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
27
+ }) : function(o, v) {
28
+ o["default"] = v;
29
+ });
30
+ var __importStar = (this && this.__importStar) || function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UnifiedAgentCustomPluginLogSource = void 0;
39
+ const model = __importStar(require("../model"));
40
+ var UnifiedAgentCustomPluginLogSource;
41
+ (function (UnifiedAgentCustomPluginLogSource) {
42
+ function getJsonObj(obj, isParentJsonObj) {
43
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
44
+ ? obj
45
+ : model.UnifiedAgentLoggingSource.getJsonObj(obj))), {});
46
+ return jsonObj;
47
+ }
48
+ UnifiedAgentCustomPluginLogSource.getJsonObj = getJsonObj;
49
+ UnifiedAgentCustomPluginLogSource.sourceType = "CUSTOM_PLUGIN";
50
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
51
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
52
+ ? obj
53
+ : model.UnifiedAgentLoggingSource.getDeserializedJsonObj(obj))), {});
54
+ return jsonObj;
55
+ }
56
+ UnifiedAgentCustomPluginLogSource.getDeserializedJsonObj = getDeserializedJsonObj;
57
+ })(UnifiedAgentCustomPluginLogSource = exports.UnifiedAgentCustomPluginLogSource || (exports.UnifiedAgentCustomPluginLogSource = {}));
58
+ //# sourceMappingURL=unified-agent-custom-plugin-log-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-custom-plugin-log-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-custom-plugin-log-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,iCAAiC,CA8BjD;AA9BD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CACxB,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAuC,CAAC,GACxF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAU,aAYzB,CAAA;IACY,4CAAU,GAAG,eAAe,CAAC;IAC1C,SAAgB,sBAAsB,CACpC,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACkC,CAAC,GACzC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QA8BjD"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ /**
18
+ * Custom section in custom filter
19
+ */
20
+ export interface UnifiedAgentCustomSection {
21
+ /**
22
+ * The name of the custom section
23
+ */
24
+ "name"?: string;
25
+ /**
26
+ * Parameters in the custom section
27
+ */
28
+ "params"?: {
29
+ [key: string]: string;
30
+ };
31
+ }
32
+ export declare namespace UnifiedAgentCustomSection {
33
+ function getJsonObj(obj: UnifiedAgentCustomSection): object;
34
+ function getDeserializedJsonObj(obj: UnifiedAgentCustomSection): object;
35
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.UnifiedAgentCustomSection = void 0;
20
+ var UnifiedAgentCustomSection;
21
+ (function (UnifiedAgentCustomSection) {
22
+ function getJsonObj(obj) {
23
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
24
+ return jsonObj;
25
+ }
26
+ UnifiedAgentCustomSection.getJsonObj = getJsonObj;
27
+ function getDeserializedJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ UnifiedAgentCustomSection.getDeserializedJsonObj = getDeserializedJsonObj;
32
+ })(UnifiedAgentCustomSection = exports.UnifiedAgentCustomSection || (exports.UnifiedAgentCustomSection = {}));
33
+ //# sourceMappingURL=unified-agent-custom-section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-custom-section.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-custom-section.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAmBH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ import * as model from "../model";
18
+ /**
19
+ * Unified Agent kubernetes service configuration object.
20
+ */
21
+ export interface UnifiedAgentKubernetesConfigurationDetails extends model.UnifiedAgentMonitoringApplicationConfigurationDetails {
22
+ "source": model.UnifiedAgentKubernetesSource;
23
+ "filter"?: model.UnifiedAgentKubernetesFilter;
24
+ "destination": model.UnifiedAgentMonitoringDestination;
25
+ "sourceType": string;
26
+ }
27
+ export declare namespace UnifiedAgentKubernetesConfigurationDetails {
28
+ function getJsonObj(obj: UnifiedAgentKubernetesConfigurationDetails, isParentJsonObj?: boolean): object;
29
+ const sourceType = "KUBERNETES";
30
+ function getDeserializedJsonObj(obj: UnifiedAgentKubernetesConfigurationDetails, isParentJsonObj?: boolean): object;
31
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
21
+ }) : (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ }));
25
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
27
+ }) : function(o, v) {
28
+ o["default"] = v;
29
+ });
30
+ var __importStar = (this && this.__importStar) || function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UnifiedAgentKubernetesConfigurationDetails = void 0;
39
+ const model = __importStar(require("../model"));
40
+ var UnifiedAgentKubernetesConfigurationDetails;
41
+ (function (UnifiedAgentKubernetesConfigurationDetails) {
42
+ function getJsonObj(obj, isParentJsonObj) {
43
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
44
+ ? obj
45
+ : model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj(obj))), {
46
+ "source": obj.source
47
+ ? model.UnifiedAgentKubernetesSource.getJsonObj(obj.source)
48
+ : undefined,
49
+ "filter": obj.filter
50
+ ? model.UnifiedAgentKubernetesFilter.getJsonObj(obj.filter)
51
+ : undefined,
52
+ "destination": obj.destination
53
+ ? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination)
54
+ : undefined
55
+ });
56
+ return jsonObj;
57
+ }
58
+ UnifiedAgentKubernetesConfigurationDetails.getJsonObj = getJsonObj;
59
+ UnifiedAgentKubernetesConfigurationDetails.sourceType = "KUBERNETES";
60
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
61
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
62
+ ? obj
63
+ : model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj(obj))), {
64
+ "source": obj.source
65
+ ? model.UnifiedAgentKubernetesSource.getDeserializedJsonObj(obj.source)
66
+ : undefined,
67
+ "filter": obj.filter
68
+ ? model.UnifiedAgentKubernetesFilter.getDeserializedJsonObj(obj.filter)
69
+ : undefined,
70
+ "destination": obj.destination
71
+ ? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination)
72
+ : undefined
73
+ });
74
+ return jsonObj;
75
+ }
76
+ UnifiedAgentKubernetesConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
77
+ })(UnifiedAgentKubernetesConfigurationDetails = exports.UnifiedAgentKubernetesConfigurationDetails || (exports.UnifiedAgentKubernetesConfigurationDetails = {}));
78
+ //# sourceMappingURL=unified-agent-kubernetes-configuration-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-kubernetes-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-kubernetes-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,0CAA0C,CAoD1D;AApDD,WAAiB,0CAA0C;IACzD,SAAgB,UAAU,CACxB,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,UAAU,CACrE,GAAG,CAC2C,CAAC,GAClD;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,qDAAU,aAwBzB,CAAA;IACY,qDAAU,GAAG,YAAY,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,sBAAsB,CACjF,GAAG,CAC2C,CAAC,GAClD;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,iEAAsB,yBAwBrC,CAAA;AACH,CAAC,EApDgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QAoD1D"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ import * as model from "../model";
18
+ /**
19
+ * Kubernetes filter object
20
+ */
21
+ export interface UnifiedAgentKubernetesFilter extends model.UnifiedAgentMonitoringFilter {
22
+ /**
23
+ * List of metrics regex to be allowed.
24
+ */
25
+ "allowList"?: Array<string>;
26
+ /**
27
+ * List of metrics regex to be denied.
28
+ */
29
+ "denyList"?: Array<string>;
30
+ "filterType": string;
31
+ }
32
+ export declare namespace UnifiedAgentKubernetesFilter {
33
+ function getJsonObj(obj: UnifiedAgentKubernetesFilter, isParentJsonObj?: boolean): object;
34
+ const filterType = "KUBERNETES_FILTER";
35
+ function getDeserializedJsonObj(obj: UnifiedAgentKubernetesFilter, isParentJsonObj?: boolean): object;
36
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
21
+ }) : (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ }));
25
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
27
+ }) : function(o, v) {
28
+ o["default"] = v;
29
+ });
30
+ var __importStar = (this && this.__importStar) || function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UnifiedAgentKubernetesFilter = void 0;
39
+ const model = __importStar(require("../model"));
40
+ var UnifiedAgentKubernetesFilter;
41
+ (function (UnifiedAgentKubernetesFilter) {
42
+ function getJsonObj(obj, isParentJsonObj) {
43
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
44
+ ? obj
45
+ : model.UnifiedAgentMonitoringFilter.getJsonObj(obj))), {});
46
+ return jsonObj;
47
+ }
48
+ UnifiedAgentKubernetesFilter.getJsonObj = getJsonObj;
49
+ UnifiedAgentKubernetesFilter.filterType = "KUBERNETES_FILTER";
50
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
51
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
52
+ ? obj
53
+ : model.UnifiedAgentMonitoringFilter.getDeserializedJsonObj(obj))), {});
54
+ return jsonObj;
55
+ }
56
+ UnifiedAgentKubernetesFilter.getDeserializedJsonObj = getDeserializedJsonObj;
57
+ })(UnifiedAgentKubernetesFilter = exports.UnifiedAgentKubernetesFilter || (exports.UnifiedAgentKubernetesFilter = {}));
58
+ //# sourceMappingURL=unified-agent-kubernetes-filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-kubernetes-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-kubernetes-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,4BAA4B,CA2B5C;AA3BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAkC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAU,aASzB,CAAA;IACY,uCAAU,GAAG,mBAAmB,CAAC;IAC9C,SAAgB,sBAAsB,CACpC,GAAiC,EACjC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACxD,GAAG,CAC6B,CAAC,GACpC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,mDAAsB,yBAcrC,CAAA;AACH,CAAC,EA3BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA2B5C"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ /**
18
+ * Monitoring scrape object.
19
+ */
20
+ export interface UnifiedAgentKubernetesScrapeTarget {
21
+ /**
22
+ * Type of resource to scrape metrics.
23
+ */
24
+ "resourceType": UnifiedAgentKubernetesScrapeTarget.ResourceType;
25
+ /**
26
+ * K8s namespace of the resource.
27
+ */
28
+ "k8sNamespace": string;
29
+ /**
30
+ * Name of the service prepended to the endpoints.
31
+ */
32
+ "serviceName"?: string;
33
+ /**
34
+ * Resource group in OCI monitoring.
35
+ */
36
+ "resourceGroup"?: string;
37
+ }
38
+ export declare namespace UnifiedAgentKubernetesScrapeTarget {
39
+ enum ResourceType {
40
+ Pods = "PODS",
41
+ Endpoints = "ENDPOINTS",
42
+ Nodes = "NODES",
43
+ Services = "SERVICES",
44
+ /**
45
+ * This value is used if a service returns a value for this enum that is not recognized by this
46
+ * version of the SDK.
47
+ */
48
+ UnknownValue = "UNKNOWN_VALUE"
49
+ }
50
+ function getJsonObj(obj: UnifiedAgentKubernetesScrapeTarget): object;
51
+ function getDeserializedJsonObj(obj: UnifiedAgentKubernetesScrapeTarget): object;
52
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.UnifiedAgentKubernetesScrapeTarget = void 0;
20
+ var UnifiedAgentKubernetesScrapeTarget;
21
+ (function (UnifiedAgentKubernetesScrapeTarget) {
22
+ let ResourceType;
23
+ (function (ResourceType) {
24
+ ResourceType["Pods"] = "PODS";
25
+ ResourceType["Endpoints"] = "ENDPOINTS";
26
+ ResourceType["Nodes"] = "NODES";
27
+ ResourceType["Services"] = "SERVICES";
28
+ /**
29
+ * This value is used if a service returns a value for this enum that is not recognized by this
30
+ * version of the SDK.
31
+ */
32
+ ResourceType["UnknownValue"] = "UNKNOWN_VALUE";
33
+ })(ResourceType = UnifiedAgentKubernetesScrapeTarget.ResourceType || (UnifiedAgentKubernetesScrapeTarget.ResourceType = {}));
34
+ function getJsonObj(obj) {
35
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
36
+ return jsonObj;
37
+ }
38
+ UnifiedAgentKubernetesScrapeTarget.getJsonObj = getJsonObj;
39
+ function getDeserializedJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
41
+ return jsonObj;
42
+ }
43
+ UnifiedAgentKubernetesScrapeTarget.getDeserializedJsonObj = getDeserializedJsonObj;
44
+ })(UnifiedAgentKubernetesScrapeTarget = exports.UnifiedAgentKubernetesScrapeTarget || (exports.UnifiedAgentKubernetesScrapeTarget = {}));
45
+ //# sourceMappingURL=unified-agent-kubernetes-scrape-target.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-kubernetes-scrape-target.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-kubernetes-scrape-target.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA2BH,IAAiB,kCAAkC,CAuBlD;AAvBD,WAAiB,kCAAkC;IACjD,IAAY,YAUX;IAVD,WAAY,YAAY;QACtB,6BAAa,CAAA;QACb,uCAAuB,CAAA;QACvB,+BAAe,CAAA;QACf,qCAAqB,CAAA;QACrB;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EAVW,YAAY,GAAZ,+CAAY,KAAZ,+CAAY,QAUvB;IAED,SAAgB,UAAU,CAAC,GAAuC;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuC;QAC5E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yDAAsB,yBAIrC,CAAA;AACH,CAAC,EAvBgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAuBlD"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Logging Management API
3
+ * Use the Logging Management API to create, read, list, update, move and delete
4
+ log groups, log objects, log saved searches, and agent configurations.
5
+
6
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
7
+
8
+ * OpenAPI spec version: 20200531
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OracleSDKGenerator.
12
+ * Do not edit the class manually.
13
+ *
14
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
15
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
16
+ */
17
+ import * as model from "../model";
18
+ /**
19
+ * Kubernetes source object.
20
+ */
21
+ export interface UnifiedAgentKubernetesSource {
22
+ /**
23
+ * Unique name for the source.
24
+ */
25
+ "name": string;
26
+ /**
27
+ * List of UnifiedAgentKubernetesScrapeTarget.
28
+ */
29
+ "scrapeTargets": Array<model.UnifiedAgentKubernetesScrapeTarget>;
30
+ }
31
+ export declare namespace UnifiedAgentKubernetesSource {
32
+ function getJsonObj(obj: UnifiedAgentKubernetesSource): object;
33
+ function getDeserializedJsonObj(obj: UnifiedAgentKubernetesSource): object;
34
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /**
3
+ * Logging Management API
4
+ * Use the Logging Management API to create, read, list, update, move and delete
5
+ log groups, log objects, log saved searches, and agent configurations.
6
+
7
+ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
8
+
9
+ * OpenAPI spec version: 20200531
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OracleSDKGenerator.
13
+ * Do not edit the class manually.
14
+ *
15
+ * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
16
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
17
+ */
18
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
21
+ }) : (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ }));
25
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
26
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
27
+ }) : function(o, v) {
28
+ o["default"] = v;
29
+ });
30
+ var __importStar = (this && this.__importStar) || function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UnifiedAgentKubernetesSource = void 0;
39
+ const model = __importStar(require("../model"));
40
+ var UnifiedAgentKubernetesSource;
41
+ (function (UnifiedAgentKubernetesSource) {
42
+ function getJsonObj(obj) {
43
+ const jsonObj = Object.assign(Object.assign({}, obj), {
44
+ "scrapeTargets": obj.scrapeTargets
45
+ ? obj.scrapeTargets.map(item => {
46
+ return model.UnifiedAgentKubernetesScrapeTarget.getJsonObj(item);
47
+ })
48
+ : undefined
49
+ });
50
+ return jsonObj;
51
+ }
52
+ UnifiedAgentKubernetesSource.getJsonObj = getJsonObj;
53
+ function getDeserializedJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {
55
+ "scrapeTargets": obj.scrapeTargets
56
+ ? obj.scrapeTargets.map(item => {
57
+ return model.UnifiedAgentKubernetesScrapeTarget.getDeserializedJsonObj(item);
58
+ })
59
+ : undefined
60
+ });
61
+ return jsonObj;
62
+ }
63
+ UnifiedAgentKubernetesSource.getDeserializedJsonObj = getDeserializedJsonObj;
64
+ })(UnifiedAgentKubernetesSource = exports.UnifiedAgentKubernetesSource || (exports.UnifiedAgentKubernetesSource = {}));
65
+ //# sourceMappingURL=unified-agent-kubernetes-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unified-agent-kubernetes-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-kubernetes-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
@@ -23,6 +23,10 @@ export interface UnifiedAgentLoggingConfiguration extends model.UnifiedAgentServ
23
23
  * Logging source object.
24
24
  */
25
25
  "sources": Array<model.UnifiedAgentLoggingSource>;
26
+ /**
27
+ * Logging filter object.
28
+ */
29
+ "filter"?: Array<model.UnifiedAgentLoggingFilter>;
26
30
  "destination": model.UnifiedAgentLoggingDestination;
27
31
  "configurationType": string;
28
32
  }
@@ -48,6 +48,11 @@ var UnifiedAgentLoggingConfiguration;
48
48
  return model.UnifiedAgentLoggingSource.getJsonObj(item);
49
49
  })
50
50
  : undefined,
51
+ "filter": obj.filter
52
+ ? obj.filter.map(item => {
53
+ return model.UnifiedAgentLoggingFilter.getJsonObj(item);
54
+ })
55
+ : undefined,
51
56
  "destination": obj.destination
52
57
  ? model.UnifiedAgentLoggingDestination.getJsonObj(obj.destination)
53
58
  : undefined
@@ -65,6 +70,11 @@ var UnifiedAgentLoggingConfiguration;
65
70
  return model.UnifiedAgentLoggingSource.getDeserializedJsonObj(item);
66
71
  })
67
72
  : undefined,
73
+ "filter": obj.filter
74
+ ? obj.filter.map(item => {
75
+ return model.UnifiedAgentLoggingFilter.getDeserializedJsonObj(item);
76
+ })
77
+ : undefined,
68
78
  "destination": obj.destination
69
79
  ? model.UnifiedAgentLoggingDestination.getDeserializedJsonObj(obj.destination)
70
80
  : undefined
@@ -1 +1 @@
1
- {"version":3,"file":"unified-agent-logging-configuration.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,gCAAgC,CAkDhD;AAlDD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uCAAuC,CAAC,UAAU,CACvD,GAAG,CACiC,CAAC,GACxC;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,2CAAU,aAuBzB,CAAA;IACY,kDAAiB,GAAG,SAAS,CAAC;IAC3C,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACnE,GAAG,CACiC,CAAC,GACxC;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC9E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,uDAAsB,yBAuBrC,CAAA;AACH,CAAC,EAlDgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAkDhD"}
1
+ {"version":3,"file":"unified-agent-logging-configuration.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,gCAAgC,CA4DhD;AA5DD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uCAAuC,CAAC,UAAU,CACvD,GAAG,CACiC,CAAC,GACxC;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,2CAAU,aA4BzB,CAAA;IACY,kDAAiB,GAAG,SAAS,CAAC;IAC3C,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACnE,GAAG,CACiC,CAAC,GACxC;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC9E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,uDAAsB,yBA4BrC,CAAA;AACH,CAAC,EA5DgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA4DhD"}