oci-logging 2.82.2 → 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.
- package/lib/client.d.ts +30 -30
- package/lib/client.js +30 -30
- package/lib/model/create-unified-agent-configuration-details.d.ts +3 -3
- package/lib/model/create-unified-agent-configuration-details.js.map +1 -1
- package/lib/model/grep-filter-allow-rule.d.ts +33 -0
- package/lib/model/grep-filter-allow-rule.js +33 -0
- package/lib/model/grep-filter-allow-rule.js.map +1 -0
- package/lib/model/grep-filter-deny-rule.d.ts +33 -0
- package/lib/model/grep-filter-deny-rule.js +33 -0
- package/lib/model/grep-filter-deny-rule.js.map +1 -0
- package/lib/model/index.d.ts +54 -0
- package/lib/model/index.js +56 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/operational-metrics-source.d.ts +1 -1
- package/lib/model/record-transformer-pair.d.ts +33 -0
- package/lib/model/record-transformer-pair.js +33 -0
- package/lib/model/record-transformer-pair.js.map +1 -0
- package/lib/model/unified-agent-configuration.d.ts +1 -1
- package/lib/model/unified-agent-configuration.js.map +1 -1
- package/lib/model/unified-agent-custom-filter.d.ts +42 -0
- package/lib/model/unified-agent-custom-filter.js +70 -0
- package/lib/model/unified-agent-custom-filter.js.map +1 -0
- package/lib/model/unified-agent-custom-plugin-log-source.d.ts +32 -0
- package/lib/model/unified-agent-custom-plugin-log-source.js +58 -0
- package/lib/model/unified-agent-custom-plugin-log-source.js.map +1 -0
- package/lib/model/unified-agent-custom-section.d.ts +35 -0
- package/lib/model/unified-agent-custom-section.js +33 -0
- package/lib/model/unified-agent-custom-section.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.d.ts +31 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.js +78 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-filter.d.ts +36 -0
- package/lib/model/unified-agent-kubernetes-filter.js +58 -0
- package/lib/model/unified-agent-kubernetes-filter.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.d.ts +52 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.js +45 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-source.d.ts +34 -0
- package/lib/model/unified-agent-kubernetes-source.js +65 -0
- package/lib/model/unified-agent-kubernetes-source.js.map +1 -0
- package/lib/model/unified-agent-logging-configuration.d.ts +4 -0
- package/lib/model/unified-agent-logging-configuration.js +10 -0
- package/lib/model/unified-agent-logging-configuration.js.map +1 -1
- package/lib/model/unified-agent-logging-filter.d.ts +30 -0
- package/lib/model/unified-agent-logging-filter.js +84 -0
- package/lib/model/unified-agent-logging-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-grep-filter.d.ts +38 -0
- package/lib/model/unified-agent-logging-grep-filter.js +80 -0
- package/lib/model/unified-agent-logging-grep-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.d.ts +58 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.js +70 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-source.js +4 -0
- package/lib/model/unified-agent-logging-source.js.map +1 -1
- package/lib/model/unified-agent-monitoring-application-configuration-details.d.ts +26 -0
- package/lib/model/unified-agent-monitoring-application-configuration-details.js +80 -0
- package/lib/model/unified-agent-monitoring-application-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-monitoring-configuration-details.d.ts +32 -0
- package/lib/model/unified-agent-monitoring-configuration-details.js +70 -0
- package/lib/model/unified-agent-monitoring-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-monitoring-destination.d.ts +33 -0
- package/lib/model/unified-agent-monitoring-destination.js +33 -0
- package/lib/model/unified-agent-monitoring-destination.js.map +1 -0
- package/lib/model/unified-agent-monitoring-filter.d.ts +30 -0
- package/lib/model/unified-agent-monitoring-filter.js +76 -0
- package/lib/model/unified-agent-monitoring-filter.js.map +1 -0
- package/lib/model/unified-agent-monitoring-source-types.d.ts +33 -0
- package/lib/model/unified-agent-monitoring-source-types.js +44 -0
- package/lib/model/unified-agent-monitoring-source-types.js.map +1 -0
- package/lib/model/unified-agent-monitoring-url-source.d.ts +34 -0
- package/lib/model/unified-agent-monitoring-url-source.js +65 -0
- package/lib/model/unified-agent-monitoring-url-source.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-parser-record.d.ts +40 -0
- package/lib/model/unified-agent-openmetrics-parser-record.js +33 -0
- package/lib/model/unified-agent-openmetrics-parser-record.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-parser.d.ts +29 -0
- package/lib/model/unified-agent-openmetrics-parser.js +66 -0
- package/lib/model/unified-agent-openmetrics-parser.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.d.ts +33 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.js +76 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-parser-filter.d.ts +66 -0
- package/lib/model/unified-agent-parser-filter.js +64 -0
- package/lib/model/unified-agent-parser-filter.js.map +1 -0
- package/lib/model/unified-agent-parser.js +4 -0
- package/lib/model/unified-agent-parser.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-details.js +4 -0
- package/lib/model/unified-agent-service-configuration-details.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-types.d.ts +1 -0
- package/lib/model/unified-agent-service-configuration-types.js +1 -0
- package/lib/model/unified-agent-service-configuration-types.js.map +1 -1
- package/lib/model/unified-agent-tail-log-source.d.ts +2 -1
- package/lib/model/unified-agent-tail-log-source.js +7 -1
- package/lib/model/unified-agent-tail-log-source.js.map +1 -1
- package/lib/model/unified-agent-tail-source-advanced-options.d.ts +29 -0
- package/lib/model/unified-agent-tail-source-advanced-options.js +33 -0
- package/lib/model/unified-agent-tail-source-advanced-options.js.map +1 -0
- package/lib/model/unified-agent-url-configuration-details.d.ts +31 -0
- package/lib/model/unified-agent-url-configuration-details.js +76 -0
- package/lib/model/unified-agent-url-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-url-filter.d.ts +36 -0
- package/lib/model/unified-agent-url-filter.js +58 -0
- package/lib/model/unified-agent-url-filter.js.map +1 -0
- package/lib/model/unified-agent-url-scrape-target.d.ts +33 -0
- package/lib/model/unified-agent-url-scrape-target.js +33 -0
- package/lib/model/unified-agent-url-scrape-target.js.map +1 -0
- package/lib/model/unified-js-on-parser.d.ts +8 -0
- package/lib/model/unified-js-on-parser.js.map +1 -1
- package/lib/model/update-unified-agent-configuration-details.d.ts +1 -1
- package/lib/model/update-unified-agent-configuration-details.js.map +1 -1
- package/lib/request/change-log-group-compartment-request.d.ts +1 -1
- package/lib/request/change-log-log-group-request.d.ts +1 -1
- package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
- package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
- package/lib/request/create-log-group-request.d.ts +1 -1
- package/lib/request/create-log-request.d.ts +1 -1
- package/lib/request/create-log-saved-search-request.d.ts +1 -1
- package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-log-group-request.d.ts +1 -1
- package/lib/request/delete-log-request.d.ts +1 -1
- package/lib/request/delete-log-saved-search-request.d.ts +1 -1
- package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-log-group-request.d.ts +1 -1
- package/lib/request/get-log-request.d.ts +1 -1
- package/lib/request/get-log-saved-search-request.d.ts +1 -1
- package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-log-groups-request.d.ts +1 -1
- package/lib/request/list-log-saved-searches-request.d.ts +1 -1
- package/lib/request/list-logs-request.d.ts +1 -1
- package/lib/request/list-services-request.d.ts +1 -1
- package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-log-group-request.d.ts +1 -1
- package/lib/request/update-log-request.d.ts +1 -1
- package/lib/request/update-log-saved-search-request.d.ts +1 -1
- package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Kubernetes destination object.
|
|
19
|
+
*/
|
|
20
|
+
export interface UnifiedAgentMonitoringDestination {
|
|
21
|
+
/**
|
|
22
|
+
* The OCID of the compartment that the resource belongs to.
|
|
23
|
+
*/
|
|
24
|
+
"compartmentId": string;
|
|
25
|
+
/**
|
|
26
|
+
* Namespace to which metrics will be emitted.
|
|
27
|
+
*/
|
|
28
|
+
"metricsNamespace": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace UnifiedAgentMonitoringDestination {
|
|
31
|
+
function getJsonObj(obj: UnifiedAgentMonitoringDestination): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringDestination): object;
|
|
33
|
+
}
|
|
@@ -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.UnifiedAgentMonitoringDestination = void 0;
|
|
20
|
+
var UnifiedAgentMonitoringDestination;
|
|
21
|
+
(function (UnifiedAgentMonitoringDestination) {
|
|
22
|
+
function getJsonObj(obj) {
|
|
23
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
24
|
+
return jsonObj;
|
|
25
|
+
}
|
|
26
|
+
UnifiedAgentMonitoringDestination.getJsonObj = getJsonObj;
|
|
27
|
+
function getDeserializedJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
UnifiedAgentMonitoringDestination.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
32
|
+
})(UnifiedAgentMonitoringDestination = exports.UnifiedAgentMonitoringDestination || (exports.UnifiedAgentMonitoringDestination = {}));
|
|
33
|
+
//# sourceMappingURL=unified-agent-monitoring-destination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-destination.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-destination.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAmBH,IAAiB,iCAAiC,CAWjD;AAXD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsC;QAC3E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAWjD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 filter object.
|
|
19
|
+
*/
|
|
20
|
+
export interface UnifiedAgentMonitoringFilter {
|
|
21
|
+
/**
|
|
22
|
+
* Unique name for the filter.
|
|
23
|
+
*/
|
|
24
|
+
"name": string;
|
|
25
|
+
"filterType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UnifiedAgentMonitoringFilter {
|
|
28
|
+
function getJsonObj(obj: UnifiedAgentMonitoringFilter): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringFilter): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.UnifiedAgentMonitoringFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
const common = require("oci-common");
|
|
41
|
+
var UnifiedAgentMonitoringFilter;
|
|
42
|
+
(function (UnifiedAgentMonitoringFilter) {
|
|
43
|
+
function getJsonObj(obj) {
|
|
44
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
+
if (obj && "filterType" in obj && obj.filterType) {
|
|
46
|
+
switch (obj.filterType) {
|
|
47
|
+
case "KUBERNETES_FILTER":
|
|
48
|
+
return model.UnifiedAgentKubernetesFilter.getJsonObj(jsonObj, true);
|
|
49
|
+
case "URL_FILTER":
|
|
50
|
+
return model.UnifiedAgentUrlFilter.getJsonObj(jsonObj, true);
|
|
51
|
+
default:
|
|
52
|
+
if (common.LOG.logger)
|
|
53
|
+
common.LOG.logger.info(`Unknown value for: ${obj.filterType}`);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
UnifiedAgentMonitoringFilter.getJsonObj = getJsonObj;
|
|
59
|
+
function getDeserializedJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
61
|
+
if (obj && "filterType" in obj && obj.filterType) {
|
|
62
|
+
switch (obj.filterType) {
|
|
63
|
+
case "KUBERNETES_FILTER":
|
|
64
|
+
return model.UnifiedAgentKubernetesFilter.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
case "URL_FILTER":
|
|
66
|
+
return model.UnifiedAgentUrlFilter.getDeserializedJsonObj(jsonObj, true);
|
|
67
|
+
default:
|
|
68
|
+
if (common.LOG.logger)
|
|
69
|
+
common.LOG.logger.info(`Unknown value for: ${obj.filterType}`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
UnifiedAgentMonitoringFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(UnifiedAgentMonitoringFilter = exports.UnifiedAgentMonitoringFilter || (exports.UnifiedAgentMonitoringFilter = {}));
|
|
76
|
+
//# sourceMappingURL=unified-agent-monitoring-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,4BAA4B,CA2C5C;AA3CD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACjB,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA2C5C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Type of Unified Agent monitoring source.
|
|
19
|
+
**/
|
|
20
|
+
export declare enum UnifiedAgentMonitoringSourceTypes {
|
|
21
|
+
Kubernetes = "KUBERNETES",
|
|
22
|
+
Tail = "TAIL",
|
|
23
|
+
Url = "URL",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace UnifiedAgentMonitoringSourceTypes {
|
|
31
|
+
function getJsonObj(obj: UnifiedAgentMonitoringSourceTypes): UnifiedAgentMonitoringSourceTypes;
|
|
32
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringSourceTypes): UnifiedAgentMonitoringSourceTypes;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.UnifiedAgentMonitoringSourceTypes = void 0;
|
|
20
|
+
/**
|
|
21
|
+
* Type of Unified Agent monitoring source.
|
|
22
|
+
**/
|
|
23
|
+
var UnifiedAgentMonitoringSourceTypes;
|
|
24
|
+
(function (UnifiedAgentMonitoringSourceTypes) {
|
|
25
|
+
UnifiedAgentMonitoringSourceTypes["Kubernetes"] = "KUBERNETES";
|
|
26
|
+
UnifiedAgentMonitoringSourceTypes["Tail"] = "TAIL";
|
|
27
|
+
UnifiedAgentMonitoringSourceTypes["Url"] = "URL";
|
|
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
|
+
UnifiedAgentMonitoringSourceTypes["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(UnifiedAgentMonitoringSourceTypes = exports.UnifiedAgentMonitoringSourceTypes || (exports.UnifiedAgentMonitoringSourceTypes = {}));
|
|
34
|
+
(function (UnifiedAgentMonitoringSourceTypes) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
UnifiedAgentMonitoringSourceTypes.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
UnifiedAgentMonitoringSourceTypes.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(UnifiedAgentMonitoringSourceTypes = exports.UnifiedAgentMonitoringSourceTypes || (exports.UnifiedAgentMonitoringSourceTypes = {}));
|
|
44
|
+
//# sourceMappingURL=unified-agent-monitoring-source-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-source-types.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-source-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH;;IAEI;AACJ,IAAY,iCAUX;AAVD,WAAY,iCAAiC;IAC3C,8DAAyB,CAAA;IACzB,kDAAa,CAAA;IACb,gDAAW,CAAA;IAEX;;;OAGG;IACH,mEAA8B,CAAA;AAChC,CAAC,EAVW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAU5C;AAED,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CACxB,GAAsC;QAEtC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,4CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAsC;QAEtC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,wDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAWjD"}
|
|
@@ -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 UnifiedAgentMonitoringUrlSource {
|
|
22
|
+
/**
|
|
23
|
+
* Unique name for the source.
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* List of UnifiedAgentKubernetesScrapeTarget.
|
|
28
|
+
*/
|
|
29
|
+
"scrapeTargets": Array<model.UnifiedAgentUrlScrapeTarget>;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace UnifiedAgentMonitoringUrlSource {
|
|
32
|
+
function getJsonObj(obj: UnifiedAgentMonitoringUrlSource): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringUrlSource): 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.UnifiedAgentMonitoringUrlSource = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentMonitoringUrlSource;
|
|
41
|
+
(function (UnifiedAgentMonitoringUrlSource) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"scrapeTargets": obj.scrapeTargets
|
|
45
|
+
? obj.scrapeTargets.map(item => {
|
|
46
|
+
return model.UnifiedAgentUrlScrapeTarget.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
UnifiedAgentMonitoringUrlSource.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.UnifiedAgentUrlScrapeTarget.getDeserializedJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
UnifiedAgentMonitoringUrlSource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(UnifiedAgentMonitoringUrlSource = exports.UnifiedAgentMonitoringUrlSource || (exports.UnifiedAgentMonitoringUrlSource = {}));
|
|
65
|
+
//# sourceMappingURL=unified-agent-monitoring-url-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-url-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-url-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,+BAA+B,CA6B/C;AA7BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,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,2BAA2B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,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,2BAA2B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA6B/C"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* record section of openmetrics parser.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentOpenmetricsParserRecord {
|
|
22
|
+
/**
|
|
23
|
+
* Namespace to emit metrics.
|
|
24
|
+
*/
|
|
25
|
+
"namespace"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Resource group to emit metrics.
|
|
28
|
+
*/
|
|
29
|
+
"resourceGroup"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Dimensions to be added for metrics.
|
|
32
|
+
*/
|
|
33
|
+
"dimensions"?: {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export declare namespace UnifiedAgentOpenmetricsParserRecord {
|
|
38
|
+
function getJsonObj(obj: UnifiedAgentOpenmetricsParserRecord): object;
|
|
39
|
+
function getDeserializedJsonObj(obj: UnifiedAgentOpenmetricsParserRecord): object;
|
|
40
|
+
}
|
|
@@ -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.UnifiedAgentOpenmetricsParserRecord = void 0;
|
|
20
|
+
var UnifiedAgentOpenmetricsParserRecord;
|
|
21
|
+
(function (UnifiedAgentOpenmetricsParserRecord) {
|
|
22
|
+
function getJsonObj(obj) {
|
|
23
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
24
|
+
return jsonObj;
|
|
25
|
+
}
|
|
26
|
+
UnifiedAgentOpenmetricsParserRecord.getJsonObj = getJsonObj;
|
|
27
|
+
function getDeserializedJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
UnifiedAgentOpenmetricsParserRecord.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
32
|
+
})(UnifiedAgentOpenmetricsParserRecord = exports.UnifiedAgentOpenmetricsParserRecord || (exports.UnifiedAgentOpenmetricsParserRecord = {}));
|
|
33
|
+
//# sourceMappingURL=unified-agent-openmetrics-parser-record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-openmetrics-parser-record.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-openmetrics-parser-record.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAwBH,IAAiB,mCAAmC,CAWnD;AAXD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAWnD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* Openmetrics parser.
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentOpenmetricsParser extends model.UnifiedAgentParser {
|
|
22
|
+
"recordInput"?: model.UnifiedAgentOpenmetricsParserRecord;
|
|
23
|
+
"parserType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace UnifiedAgentOpenmetricsParser {
|
|
26
|
+
function getJsonObj(obj: UnifiedAgentOpenmetricsParser, isParentJsonObj?: boolean): object;
|
|
27
|
+
const parserType = "OPENMETRICS";
|
|
28
|
+
function getDeserializedJsonObj(obj: UnifiedAgentOpenmetricsParser, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.UnifiedAgentOpenmetricsParser = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentOpenmetricsParser;
|
|
41
|
+
(function (UnifiedAgentOpenmetricsParser) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentParser.getJsonObj(obj))), {
|
|
46
|
+
"recordInput": obj.recordInput
|
|
47
|
+
? model.UnifiedAgentOpenmetricsParserRecord.getJsonObj(obj.recordInput)
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
UnifiedAgentOpenmetricsParser.getJsonObj = getJsonObj;
|
|
53
|
+
UnifiedAgentOpenmetricsParser.parserType = "OPENMETRICS";
|
|
54
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
56
|
+
? obj
|
|
57
|
+
: model.UnifiedAgentParser.getDeserializedJsonObj(obj))), {
|
|
58
|
+
"recordInput": obj.recordInput
|
|
59
|
+
? model.UnifiedAgentOpenmetricsParserRecord.getDeserializedJsonObj(obj.recordInput)
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
UnifiedAgentOpenmetricsParser.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(UnifiedAgentOpenmetricsParser = exports.UnifiedAgentOpenmetricsParser || (exports.UnifiedAgentOpenmetricsParser = {}));
|
|
66
|
+
//# sourceMappingURL=unified-agent-openmetrics-parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-openmetrics-parser.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-openmetrics-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,6BAA6B,CAoC7C;AApCD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GAC7E;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,wCAAU,aAgBzB,CAAA;IACY,wCAAU,GAAG,aAAa,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAmC,CAAC,GACzF;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,oDAAsB,yBAgBrC,CAAA;AACH,CAAC,EApCgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAoC7C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 Openmetrics tail configuration object.
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentOpenmetricsTailConfigurationDetails extends model.UnifiedAgentMonitoringApplicationConfigurationDetails {
|
|
22
|
+
/**
|
|
23
|
+
* Tail log source objects.
|
|
24
|
+
*/
|
|
25
|
+
"sources": Array<model.UnifiedAgentTailLogSource>;
|
|
26
|
+
"destination": model.UnifiedAgentMonitoringDestination;
|
|
27
|
+
"sourceType": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace UnifiedAgentOpenmetricsTailConfigurationDetails {
|
|
30
|
+
function getJsonObj(obj: UnifiedAgentOpenmetricsTailConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
const sourceType = "TAIL";
|
|
32
|
+
function getDeserializedJsonObj(obj: UnifiedAgentOpenmetricsTailConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|