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.
- 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,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
|
+
* Logging filter object.
|
|
19
|
+
*/
|
|
20
|
+
export interface UnifiedAgentLoggingFilter {
|
|
21
|
+
/**
|
|
22
|
+
* Unique name for the filter.
|
|
23
|
+
*/
|
|
24
|
+
"name": string;
|
|
25
|
+
"filterType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UnifiedAgentLoggingFilter {
|
|
28
|
+
function getJsonObj(obj: UnifiedAgentLoggingFilter): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: UnifiedAgentLoggingFilter): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.UnifiedAgentLoggingFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
const common = require("oci-common");
|
|
41
|
+
var UnifiedAgentLoggingFilter;
|
|
42
|
+
(function (UnifiedAgentLoggingFilter) {
|
|
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 "CUSTOM_FILTER":
|
|
48
|
+
return model.UnifiedAgentCustomFilter.getJsonObj(jsonObj, true);
|
|
49
|
+
case "PARSER_FILTER":
|
|
50
|
+
return model.UnifiedAgentParserFilter.getJsonObj(jsonObj, true);
|
|
51
|
+
case "GREP_FILTER":
|
|
52
|
+
return model.UnifiedAgentLoggingGrepFilter.getJsonObj(jsonObj, true);
|
|
53
|
+
case "RECORD_TRANSFORMER_FILTER":
|
|
54
|
+
return model.UnifiedAgentLoggingRecordTransformerFilter.getJsonObj(jsonObj, true);
|
|
55
|
+
default:
|
|
56
|
+
if (common.LOG.logger)
|
|
57
|
+
common.LOG.logger.info(`Unknown value for: ${obj.filterType}`);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
UnifiedAgentLoggingFilter.getJsonObj = getJsonObj;
|
|
63
|
+
function getDeserializedJsonObj(obj) {
|
|
64
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
65
|
+
if (obj && "filterType" in obj && obj.filterType) {
|
|
66
|
+
switch (obj.filterType) {
|
|
67
|
+
case "CUSTOM_FILTER":
|
|
68
|
+
return model.UnifiedAgentCustomFilter.getDeserializedJsonObj(jsonObj, true);
|
|
69
|
+
case "PARSER_FILTER":
|
|
70
|
+
return model.UnifiedAgentParserFilter.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
case "GREP_FILTER":
|
|
72
|
+
return model.UnifiedAgentLoggingGrepFilter.getDeserializedJsonObj(jsonObj, true);
|
|
73
|
+
case "RECORD_TRANSFORMER_FILTER":
|
|
74
|
+
return model.UnifiedAgentLoggingRecordTransformerFilter.getDeserializedJsonObj(jsonObj, true);
|
|
75
|
+
default:
|
|
76
|
+
if (common.LOG.logger)
|
|
77
|
+
common.LOG.logger.info(`Unknown value for: ${obj.filterType}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return jsonObj;
|
|
81
|
+
}
|
|
82
|
+
UnifiedAgentLoggingFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
83
|
+
})(UnifiedAgentLoggingFilter = exports.UnifiedAgentLoggingFilter || (exports.UnifiedAgentLoggingFilter = {}));
|
|
84
|
+
//# sourceMappingURL=unified-agent-logging-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-logging-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,yBAAyB,CA+DzC;AA/DD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,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,eAAe;oBAClB,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6BAA6B,CAAC,UAAU,CACL,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,0CAA0C,CAAC,UAAU,CACL,OAAQ,EACnE,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;IA9Be,oCAAU,aA8BzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,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,eAAe;oBAClB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACjB,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACjB,OAAQ,EACnE,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;IA9Be,gDAAsB,yBA8BrC,CAAA;AACH,CAAC,EA/DgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QA+DzC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* Logging grep filter object greps events by the values of specified fields.
|
|
20
|
+
* Ref: https://docs.fluentd.org/filter/grep
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface UnifiedAgentLoggingGrepFilter extends model.UnifiedAgentLoggingFilter {
|
|
24
|
+
/**
|
|
25
|
+
* A list of filtering rules to include logs
|
|
26
|
+
*/
|
|
27
|
+
"allowList"?: Array<model.GrepFilterAllowRule>;
|
|
28
|
+
/**
|
|
29
|
+
* A list of filtering rules to reject logs
|
|
30
|
+
*/
|
|
31
|
+
"denyList"?: Array<model.GrepFilterDenyRule>;
|
|
32
|
+
"filterType": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace UnifiedAgentLoggingGrepFilter {
|
|
35
|
+
function getJsonObj(obj: UnifiedAgentLoggingGrepFilter, isParentJsonObj?: boolean): object;
|
|
36
|
+
const filterType = "GREP_FILTER";
|
|
37
|
+
function getDeserializedJsonObj(obj: UnifiedAgentLoggingGrepFilter, isParentJsonObj?: boolean): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.UnifiedAgentLoggingGrepFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentLoggingGrepFilter;
|
|
41
|
+
(function (UnifiedAgentLoggingGrepFilter) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentLoggingFilter.getJsonObj(obj))), {
|
|
46
|
+
"allowList": obj.allowList
|
|
47
|
+
? obj.allowList.map(item => {
|
|
48
|
+
return model.GrepFilterAllowRule.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
51
|
+
"denyList": obj.denyList
|
|
52
|
+
? obj.denyList.map(item => {
|
|
53
|
+
return model.GrepFilterDenyRule.getJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
UnifiedAgentLoggingGrepFilter.getJsonObj = getJsonObj;
|
|
60
|
+
UnifiedAgentLoggingGrepFilter.filterType = "GREP_FILTER";
|
|
61
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
63
|
+
? obj
|
|
64
|
+
: model.UnifiedAgentLoggingFilter.getDeserializedJsonObj(obj))), {
|
|
65
|
+
"allowList": obj.allowList
|
|
66
|
+
? obj.allowList.map(item => {
|
|
67
|
+
return model.GrepFilterAllowRule.getDeserializedJsonObj(item);
|
|
68
|
+
})
|
|
69
|
+
: undefined,
|
|
70
|
+
"denyList": obj.denyList
|
|
71
|
+
? obj.denyList.map(item => {
|
|
72
|
+
return model.GrepFilterDenyRule.getDeserializedJsonObj(item);
|
|
73
|
+
})
|
|
74
|
+
: undefined
|
|
75
|
+
});
|
|
76
|
+
return jsonObj;
|
|
77
|
+
}
|
|
78
|
+
UnifiedAgentLoggingGrepFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
79
|
+
})(UnifiedAgentLoggingGrepFilter = exports.UnifiedAgentLoggingGrepFilter || (exports.UnifiedAgentLoggingGrepFilter = {}));
|
|
80
|
+
//# sourceMappingURL=unified-agent-logging-grep-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-logging-grep-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-grep-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,6BAA6B,CAoD7C;AApDD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACpF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,wCAAU,aAuBzB,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,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC8B,CAAC,GACrC;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACtB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,oDAAsB,yBAyBrC,CAAA;AACH,CAAC,EApDgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAoD7C"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* Logging record transformer filter object mutates/transforms logs.
|
|
20
|
+
* Ref: https://docs.fluentd.org/filter/record_transformer
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface UnifiedAgentLoggingRecordTransformerFilter extends model.UnifiedAgentLoggingFilter {
|
|
24
|
+
/**
|
|
25
|
+
* Add new key-value pairs in logs
|
|
26
|
+
*/
|
|
27
|
+
"recordList": Array<model.RecordTransformerPair>;
|
|
28
|
+
/**
|
|
29
|
+
* When set to true, the full Ruby syntax is enabled in the ${} expression.
|
|
30
|
+
*/
|
|
31
|
+
"isRubyEnabled"?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* If true, automatically casts the field types.
|
|
34
|
+
*/
|
|
35
|
+
"isAutoTypecastEnabled"?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* If true, it modifies a new empty hash
|
|
38
|
+
*/
|
|
39
|
+
"isRenewRecordEnabled"?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Overwrites the time of logs with this value, this value must be a Unix timestamp.
|
|
42
|
+
*/
|
|
43
|
+
"renewTimeKey"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
|
|
46
|
+
*/
|
|
47
|
+
"keepKeys"?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* A list of keys to delete
|
|
50
|
+
*/
|
|
51
|
+
"removeKeys"?: Array<string>;
|
|
52
|
+
"filterType": string;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace UnifiedAgentLoggingRecordTransformerFilter {
|
|
55
|
+
function getJsonObj(obj: UnifiedAgentLoggingRecordTransformerFilter, isParentJsonObj?: boolean): object;
|
|
56
|
+
const filterType = "RECORD_TRANSFORMER_FILTER";
|
|
57
|
+
function getDeserializedJsonObj(obj: UnifiedAgentLoggingRecordTransformerFilter, isParentJsonObj?: boolean): object;
|
|
58
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.UnifiedAgentLoggingRecordTransformerFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentLoggingRecordTransformerFilter;
|
|
41
|
+
(function (UnifiedAgentLoggingRecordTransformerFilter) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentLoggingFilter.getJsonObj(obj))), {
|
|
46
|
+
"recordList": obj.recordList
|
|
47
|
+
? obj.recordList.map(item => {
|
|
48
|
+
return model.RecordTransformerPair.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
UnifiedAgentLoggingRecordTransformerFilter.getJsonObj = getJsonObj;
|
|
55
|
+
UnifiedAgentLoggingRecordTransformerFilter.filterType = "RECORD_TRANSFORMER_FILTER";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.UnifiedAgentLoggingFilter.getDeserializedJsonObj(obj))), {
|
|
60
|
+
"recordList": obj.recordList
|
|
61
|
+
? obj.recordList.map(item => {
|
|
62
|
+
return model.RecordTransformerPair.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
UnifiedAgentLoggingRecordTransformerFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(UnifiedAgentLoggingRecordTransformerFilter = exports.UnifiedAgentLoggingRecordTransformerFilter || (exports.UnifiedAgentLoggingRecordTransformerFilter = {}));
|
|
70
|
+
//# sourceMappingURL=unified-agent-logging-record-transformer-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-logging-record-transformer-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-record-transformer-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0ClC,IAAiB,0CAA0C,CA4C1D;AA5CD,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,yBAAyB,CAAC,UAAU,CACzC,GAAG,CAC2C,CAAC,GAClD;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,qDAAU,aAoBzB,CAAA;IACY,qDAAU,GAAG,2BAA2B,CAAC;IACtD,SAAgB,sBAAsB,CACpC,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC2C,CAAC,GAClD;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,iEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QA4C1D"}
|
|
@@ -44,6 +44,8 @@ var UnifiedAgentLoggingSource;
|
|
|
44
44
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
45
|
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
46
46
|
switch (obj.sourceType) {
|
|
47
|
+
case "CUSTOM_PLUGIN":
|
|
48
|
+
return model.UnifiedAgentCustomPluginLogSource.getJsonObj(jsonObj, true);
|
|
47
49
|
case "WINDOWS_EVENT_LOG":
|
|
48
50
|
return model.UnifiedAgentWindowsEventSource.getJsonObj(jsonObj, true);
|
|
49
51
|
case "LOG_TAIL":
|
|
@@ -60,6 +62,8 @@ var UnifiedAgentLoggingSource;
|
|
|
60
62
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
61
63
|
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
62
64
|
switch (obj.sourceType) {
|
|
65
|
+
case "CUSTOM_PLUGIN":
|
|
66
|
+
return model.UnifiedAgentCustomPluginLogSource.getDeserializedJsonObj(jsonObj, true);
|
|
63
67
|
case "WINDOWS_EVENT_LOG":
|
|
64
68
|
return model.UnifiedAgentWindowsEventSource.getDeserializedJsonObj(jsonObj, true);
|
|
65
69
|
case "LOG_TAIL":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unified-agent-logging-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"unified-agent-logging-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-logging-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AActC,IAAiB,yBAAyB,CAqDzC;AArDD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,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,eAAe;oBAClB,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CACL,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CACL,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACL,OAAQ,EAClD,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;IAzBe,oCAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,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,eAAe;oBAClB,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CACjB,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CACjB,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACjB,OAAQ,EAClD,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;IAzBe,gDAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAqDzC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Unified Agent monitoing application configuration details
|
|
19
|
+
*/
|
|
20
|
+
export interface UnifiedAgentMonitoringApplicationConfigurationDetails {
|
|
21
|
+
"sourceType": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace UnifiedAgentMonitoringApplicationConfigurationDetails {
|
|
24
|
+
function getJsonObj(obj: UnifiedAgentMonitoringApplicationConfigurationDetails): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringApplicationConfigurationDetails): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.UnifiedAgentMonitoringApplicationConfigurationDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
const common = require("oci-common");
|
|
41
|
+
var UnifiedAgentMonitoringApplicationConfigurationDetails;
|
|
42
|
+
(function (UnifiedAgentMonitoringApplicationConfigurationDetails) {
|
|
43
|
+
function getJsonObj(obj) {
|
|
44
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
46
|
+
switch (obj.sourceType) {
|
|
47
|
+
case "KUBERNETES":
|
|
48
|
+
return model.UnifiedAgentKubernetesConfigurationDetails.getJsonObj(jsonObj, true);
|
|
49
|
+
case "URL":
|
|
50
|
+
return model.UnifiedAgentUrlConfigurationDetails.getJsonObj(jsonObj, true);
|
|
51
|
+
case "TAIL":
|
|
52
|
+
return model.UnifiedAgentOpenmetricsTailConfigurationDetails.getJsonObj(jsonObj, true);
|
|
53
|
+
default:
|
|
54
|
+
if (common.LOG.logger)
|
|
55
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
63
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
64
|
+
switch (obj.sourceType) {
|
|
65
|
+
case "KUBERNETES":
|
|
66
|
+
return model.UnifiedAgentKubernetesConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
|
|
67
|
+
case "URL":
|
|
68
|
+
return model.UnifiedAgentUrlConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
|
|
69
|
+
case "TAIL":
|
|
70
|
+
return model.UnifiedAgentOpenmetricsTailConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
default:
|
|
72
|
+
if (common.LOG.logger)
|
|
73
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return jsonObj;
|
|
77
|
+
}
|
|
78
|
+
UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
79
|
+
})(UnifiedAgentMonitoringApplicationConfigurationDetails = exports.UnifiedAgentMonitoringApplicationConfigurationDetails || (exports.UnifiedAgentMonitoringApplicationConfigurationDetails = {}));
|
|
80
|
+
//# sourceMappingURL=unified-agent-monitoring-application-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-application-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-application-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,qDAAqD,CAuDrE;AAvDD,WAAiB,qDAAqD;IACpE,SAAgB,UAAU,CAAC,GAA0D;QACnF,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,YAAY;oBACf,OAAO,KAAK,CAAC,0CAA0C,CAAC,UAAU,CACL,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACL,OAAQ,EAC5D,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,+CAA+C,CAAC,UAAU,CACL,OAAQ,EACxE,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;IAzBe,gEAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA0D;QAE1D,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,YAAY;oBACf,OAAO,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACjB,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CACjB,OAAQ,EAC5D,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,+CAA+C,CAAC,sBAAsB,CACjB,OAAQ,EACxE,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;IA3Be,4EAAsB,yBA2BrC,CAAA;AACH,CAAC,EAvDgB,qDAAqD,GAArD,6DAAqD,KAArD,6DAAqD,QAuDrE"}
|
|
@@ -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
|
+
* Unified Agent monitoring service configuration object.
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentMonitoringConfigurationDetails extends model.UnifiedAgentServiceConfigurationDetails {
|
|
22
|
+
/**
|
|
23
|
+
* Unified Agent monitoring application configuration details.
|
|
24
|
+
*/
|
|
25
|
+
"applicationConfigurations": Array<model.UnifiedAgentMonitoringApplicationConfigurationDetails>;
|
|
26
|
+
"configurationType": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace UnifiedAgentMonitoringConfigurationDetails {
|
|
29
|
+
function getJsonObj(obj: UnifiedAgentMonitoringConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
30
|
+
const configurationType = "MONITORING";
|
|
31
|
+
function getDeserializedJsonObj(obj: UnifiedAgentMonitoringConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.UnifiedAgentMonitoringConfigurationDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentMonitoringConfigurationDetails;
|
|
41
|
+
(function (UnifiedAgentMonitoringConfigurationDetails) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentServiceConfigurationDetails.getJsonObj(obj))), {
|
|
46
|
+
"applicationConfigurations": obj.applicationConfigurations
|
|
47
|
+
? obj.applicationConfigurations.map(item => {
|
|
48
|
+
return model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
UnifiedAgentMonitoringConfigurationDetails.getJsonObj = getJsonObj;
|
|
55
|
+
UnifiedAgentMonitoringConfigurationDetails.configurationType = "MONITORING";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.UnifiedAgentServiceConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
60
|
+
"applicationConfigurations": obj.applicationConfigurations
|
|
61
|
+
? obj.applicationConfigurations.map(item => {
|
|
62
|
+
return model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
UnifiedAgentMonitoringConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(UnifiedAgentMonitoringConfigurationDetails = exports.UnifiedAgentMonitoringConfigurationDetails || (exports.UnifiedAgentMonitoringConfigurationDetails = {}));
|
|
70
|
+
//# sourceMappingURL=unified-agent-monitoring-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-monitoring-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-monitoring-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,0CAA0C,CA8C1D;AA9CD,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,uCAAuC,CAAC,UAAU,CACvD,GAAG,CAC2C,CAAC,GAClD;YACD,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvC,OAAO,KAAK,CAAC,qDAAqD,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,qDAAU,aAoBzB,CAAA;IACY,4DAAiB,GAAG,YAAY,CAAC;IAC9C,SAAgB,sBAAsB,CACpC,GAA+C,EAC/C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uCAAuC,CAAC,sBAAsB,CACnE,GAAG,CAC2C,CAAC,GAClD;YACD,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvC,OAAO,KAAK,CAAC,qDAAqD,CAAC,sBAAsB,CACvF,IAAI,CACL,CAAC;gBACJ,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,iEAAsB,yBAsBrC,CAAA;AACH,CAAC,EA9CgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QA8C1D"}
|