oci-apmconfig 2.5.1
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/LICENSE.txt +83 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +20 -0
- package/index.js +43 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +91 -0
- package/lib/client.js +423 -0
- package/lib/client.js.map +1 -0
- package/lib/model/apdex-rules-summary.d.ts +30 -0
- package/lib/model/apdex-rules-summary.js +64 -0
- package/lib/model/apdex-rules-summary.js.map +1 -0
- package/lib/model/apdex-rules.d.ts +31 -0
- package/lib/model/apdex-rules.js +62 -0
- package/lib/model/apdex-rules.js.map +1 -0
- package/lib/model/apdex.d.ts +78 -0
- package/lib/model/apdex.js +29 -0
- package/lib/model/apdex.js.map +1 -0
- package/lib/model/config-collection.d.ts +23 -0
- package/lib/model/config-collection.js +61 -0
- package/lib/model/config-collection.js.map +1 -0
- package/lib/model/config-summary.d.ts +61 -0
- package/lib/model/config-summary.js +73 -0
- package/lib/model/config-summary.js.map +1 -0
- package/lib/model/config-types.d.ts +29 -0
- package/lib/model/config-types.js +40 -0
- package/lib/model/config-types.js.map +1 -0
- package/lib/model/config.d.ts +62 -0
- package/lib/model/config.js +73 -0
- package/lib/model/config.js.map +1 -0
- package/lib/model/create-apdex-rules-details.d.ts +32 -0
- package/lib/model/create-apdex-rules-details.js +66 -0
- package/lib/model/create-apdex-rules-details.js.map +1 -0
- package/lib/model/create-config-details.d.ts +42 -0
- package/lib/model/create-config-details.js +73 -0
- package/lib/model/create-config-details.js.map +1 -0
- package/lib/model/create-metric-group-details.d.ts +44 -0
- package/lib/model/create-metric-group-details.js +76 -0
- package/lib/model/create-metric-group-details.js.map +1 -0
- package/lib/model/create-span-filter-details.d.ts +37 -0
- package/lib/model/create-span-filter-details.js +54 -0
- package/lib/model/create-span-filter-details.js.map +1 -0
- package/lib/model/dimension.d.ts +31 -0
- package/lib/model/dimension.js +29 -0
- package/lib/model/dimension.js.map +1 -0
- package/lib/model/index.d.ts +56 -0
- package/lib/model/index.js +79 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/metric-group-summary.d.ts +44 -0
- package/lib/model/metric-group-summary.js +74 -0
- package/lib/model/metric-group-summary.js.map +1 -0
- package/lib/model/metric-group.d.ts +44 -0
- package/lib/model/metric-group.js +72 -0
- package/lib/model/metric-group.js.map +1 -0
- package/lib/model/metric.d.ts +38 -0
- package/lib/model/metric.js +29 -0
- package/lib/model/metric.js.map +1 -0
- package/lib/model/sort-orders.d.ts +23 -0
- package/lib/model/sort-orders.js +34 -0
- package/lib/model/sort-orders.js.map +1 -0
- package/lib/model/span-filter-summary.d.ts +37 -0
- package/lib/model/span-filter-summary.js +52 -0
- package/lib/model/span-filter-summary.js.map +1 -0
- package/lib/model/span-filter.d.ts +37 -0
- package/lib/model/span-filter.js +50 -0
- package/lib/model/span-filter.js.map +1 -0
- package/lib/model/update-apdex-rules-details.d.ts +30 -0
- package/lib/model/update-apdex-rules-details.js +66 -0
- package/lib/model/update-apdex-rules-details.js.map +1 -0
- package/lib/model/update-config-details.d.ts +41 -0
- package/lib/model/update-config-details.js +73 -0
- package/lib/model/update-config-details.js.map +1 -0
- package/lib/model/update-metric-group-details.d.ts +44 -0
- package/lib/model/update-metric-group-details.js +76 -0
- package/lib/model/update-metric-group-details.js.map +1 -0
- package/lib/model/update-span-filter-details.d.ts +37 -0
- package/lib/model/update-span-filter-details.js +54 -0
- package/lib/model/update-span-filter-details.js.map +1 -0
- package/lib/request/create-config-request.d.ts +49 -0
- package/lib/request/create-config-request.js +15 -0
- package/lib/request/create-config-request.js.map +1 -0
- package/lib/request/delete-config-request.d.ts +42 -0
- package/lib/request/delete-config-request.js +15 -0
- package/lib/request/delete-config-request.js.map +1 -0
- package/lib/request/get-config-request.d.ts +33 -0
- package/lib/request/get-config-request.js +15 -0
- package/lib/request/get-config-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +37 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-configs-request.d.ts +72 -0
- package/lib/request/list-configs-request.js +25 -0
- package/lib/request/list-configs-request.js.map +1 -0
- package/lib/request/update-config-request.d.ts +53 -0
- package/lib/request/update-config-request.js +15 -0
- package/lib/request/update-config-request.js.map +1 -0
- package/lib/response/create-config-response.d.ts +30 -0
- package/lib/response/create-config-response.js +15 -0
- package/lib/response/create-config-response.js.map +1 -0
- package/lib/response/delete-config-response.d.ts +20 -0
- package/lib/response/delete-config-response.js +15 -0
- package/lib/response/delete-config-response.js.map +1 -0
- package/lib/response/get-config-response.d.ts +30 -0
- package/lib/response/get-config-response.js +15 -0
- package/lib/response/get-config-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-configs-response.d.ts +32 -0
- package/lib/response/list-configs-response.js +15 -0
- package/lib/response/list-configs-response.js.map +1 -0
- package/lib/response/update-config-response.d.ts +30 -0
- package/lib/response/update-config-response.js +15 -0
- package/lib/response/update-config-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.UpdateSpanFilterDetails = exports.UpdateMetricGroupDetails = exports.UpdateApdexRulesDetails = exports.SpanFilterSummary = exports.SpanFilter = exports.MetricGroupSummary = exports.MetricGroup = exports.CreateSpanFilterDetails = exports.CreateMetricGroupDetails = exports.CreateApdexRulesDetails = exports.ApdexRulesSummary = exports.ApdexRules = exports.UpdateConfigDetails = exports.SortOrders = exports.Metric = exports.Dimension = exports.CreateConfigDetails = exports.ConfigTypes = exports.ConfigSummary = exports.ConfigCollection = exports.Config = exports.Apdex = void 0;
|
|
35
|
+
const Apdex = __importStar(require("./apdex"));
|
|
36
|
+
exports.Apdex = Apdex.Apdex;
|
|
37
|
+
const Config = __importStar(require("./config"));
|
|
38
|
+
exports.Config = Config.Config;
|
|
39
|
+
const ConfigCollection = __importStar(require("./config-collection"));
|
|
40
|
+
exports.ConfigCollection = ConfigCollection.ConfigCollection;
|
|
41
|
+
const ConfigSummary = __importStar(require("./config-summary"));
|
|
42
|
+
exports.ConfigSummary = ConfigSummary.ConfigSummary;
|
|
43
|
+
const ConfigTypes = __importStar(require("./config-types"));
|
|
44
|
+
exports.ConfigTypes = ConfigTypes.ConfigTypes;
|
|
45
|
+
const CreateConfigDetails = __importStar(require("./create-config-details"));
|
|
46
|
+
exports.CreateConfigDetails = CreateConfigDetails.CreateConfigDetails;
|
|
47
|
+
const Dimension = __importStar(require("./dimension"));
|
|
48
|
+
exports.Dimension = Dimension.Dimension;
|
|
49
|
+
const Metric = __importStar(require("./metric"));
|
|
50
|
+
exports.Metric = Metric.Metric;
|
|
51
|
+
const SortOrders = __importStar(require("./sort-orders"));
|
|
52
|
+
exports.SortOrders = SortOrders.SortOrders;
|
|
53
|
+
const UpdateConfigDetails = __importStar(require("./update-config-details"));
|
|
54
|
+
exports.UpdateConfigDetails = UpdateConfigDetails.UpdateConfigDetails;
|
|
55
|
+
const ApdexRules = __importStar(require("./apdex-rules"));
|
|
56
|
+
exports.ApdexRules = ApdexRules.ApdexRules;
|
|
57
|
+
const ApdexRulesSummary = __importStar(require("./apdex-rules-summary"));
|
|
58
|
+
exports.ApdexRulesSummary = ApdexRulesSummary.ApdexRulesSummary;
|
|
59
|
+
const CreateApdexRulesDetails = __importStar(require("./create-apdex-rules-details"));
|
|
60
|
+
exports.CreateApdexRulesDetails = CreateApdexRulesDetails.CreateApdexRulesDetails;
|
|
61
|
+
const CreateMetricGroupDetails = __importStar(require("./create-metric-group-details"));
|
|
62
|
+
exports.CreateMetricGroupDetails = CreateMetricGroupDetails.CreateMetricGroupDetails;
|
|
63
|
+
const CreateSpanFilterDetails = __importStar(require("./create-span-filter-details"));
|
|
64
|
+
exports.CreateSpanFilterDetails = CreateSpanFilterDetails.CreateSpanFilterDetails;
|
|
65
|
+
const MetricGroup = __importStar(require("./metric-group"));
|
|
66
|
+
exports.MetricGroup = MetricGroup.MetricGroup;
|
|
67
|
+
const MetricGroupSummary = __importStar(require("./metric-group-summary"));
|
|
68
|
+
exports.MetricGroupSummary = MetricGroupSummary.MetricGroupSummary;
|
|
69
|
+
const SpanFilter = __importStar(require("./span-filter"));
|
|
70
|
+
exports.SpanFilter = SpanFilter.SpanFilter;
|
|
71
|
+
const SpanFilterSummary = __importStar(require("./span-filter-summary"));
|
|
72
|
+
exports.SpanFilterSummary = SpanFilterSummary.SpanFilterSummary;
|
|
73
|
+
const UpdateApdexRulesDetails = __importStar(require("./update-apdex-rules-details"));
|
|
74
|
+
exports.UpdateApdexRulesDetails = UpdateApdexRulesDetails.UpdateApdexRulesDetails;
|
|
75
|
+
const UpdateMetricGroupDetails = __importStar(require("./update-metric-group-details"));
|
|
76
|
+
exports.UpdateMetricGroupDetails = UpdateMetricGroupDetails.UpdateMetricGroupDetails;
|
|
77
|
+
const UpdateSpanFilterDetails = __importStar(require("./update-span-filter-details"));
|
|
78
|
+
exports.UpdateSpanFilterDetails = UpdateSpanFilterDetails.UpdateSpanFilterDetails;
|
|
79
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,+CAAiC;AACnB,QAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAClC,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAE5E,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A Metric Group.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface MetricGroupSummary extends model.ConfigSummary {
|
|
19
|
+
/**
|
|
20
|
+
* The name of this metric group
|
|
21
|
+
*/
|
|
22
|
+
"displayName"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
|
|
25
|
+
* of MetricGroups. A filterId will be generated when a Span Filter is created.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"filterId"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The namespace to write the metrics to
|
|
31
|
+
*/
|
|
32
|
+
"namespace"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A list of dimensions for this metric
|
|
35
|
+
*/
|
|
36
|
+
"dimensions"?: Array<model.Dimension>;
|
|
37
|
+
"metrics"?: Array<model.Metric>;
|
|
38
|
+
"configType": string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace MetricGroupSummary {
|
|
41
|
+
function getJsonObj(obj: MetricGroupSummary, isParentJsonObj?: boolean): object;
|
|
42
|
+
const configType = "METRIC_GROUP";
|
|
43
|
+
function getDeserializedJsonObj(obj: MetricGroupSummary, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.MetricGroupSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var MetricGroupSummary;
|
|
37
|
+
(function (MetricGroupSummary) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ConfigSummary.getJsonObj(obj))), {
|
|
40
|
+
"dimensions": obj.dimensions
|
|
41
|
+
? obj.dimensions.map(item => {
|
|
42
|
+
return model.Dimension.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"metrics": obj.metrics
|
|
46
|
+
? obj.metrics.map(item => {
|
|
47
|
+
return model.Metric.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
MetricGroupSummary.getJsonObj = getJsonObj;
|
|
54
|
+
MetricGroupSummary.configType = "METRIC_GROUP";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
|
+
? obj
|
|
58
|
+
: model.ConfigSummary.getDeserializedJsonObj(obj))), {
|
|
59
|
+
"dimensions": obj.dimensions
|
|
60
|
+
? obj.dimensions.map(item => {
|
|
61
|
+
return model.Dimension.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined,
|
|
64
|
+
"metrics": obj.metrics
|
|
65
|
+
? obj.metrics.map(item => {
|
|
66
|
+
return model.Metric.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
MetricGroupSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(MetricGroupSummary = exports.MetricGroupSummary || (exports.MetricGroupSummary = {}));
|
|
74
|
+
//# sourceMappingURL=metric-group-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-group-summary.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/metric-group-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+BlC,IAAiB,kBAAkB,CA6ClC;AA7CD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB,EAAE,eAAyB;QAC3E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAwB,CAAC,GACrF;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,6BAAU,aAkBzB,CAAA;IACY,6BAAU,GAAG,cAAc,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAAuB,EACvB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAwB,CAAC,GACzE;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,yCAAsB,yBAuBrC,CAAA;AACH,CAAC,EA7CgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6ClC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A Metric Group.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface MetricGroup extends model.Config {
|
|
19
|
+
/**
|
|
20
|
+
* The name of this metric group
|
|
21
|
+
*/
|
|
22
|
+
"displayName"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
|
|
25
|
+
* of MetricGroups. A filterId will be generated when a Span Filter is created.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"filterId"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The namespace to write the metrics to
|
|
31
|
+
*/
|
|
32
|
+
"namespace"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A list of dimensions for this metric
|
|
35
|
+
*/
|
|
36
|
+
"dimensions"?: Array<model.Dimension>;
|
|
37
|
+
"metrics"?: Array<model.Metric>;
|
|
38
|
+
"configType": string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace MetricGroup {
|
|
41
|
+
function getJsonObj(obj: MetricGroup, isParentJsonObj?: boolean): object;
|
|
42
|
+
const configType = "METRIC_GROUP";
|
|
43
|
+
function getDeserializedJsonObj(obj: MetricGroup, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.MetricGroup = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var MetricGroup;
|
|
37
|
+
(function (MetricGroup) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getJsonObj(obj))), {
|
|
40
|
+
"dimensions": obj.dimensions
|
|
41
|
+
? obj.dimensions.map(item => {
|
|
42
|
+
return model.Dimension.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"metrics": obj.metrics
|
|
46
|
+
? obj.metrics.map(item => {
|
|
47
|
+
return model.Metric.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
MetricGroup.getJsonObj = getJsonObj;
|
|
54
|
+
MetricGroup.configType = "METRIC_GROUP";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"dimensions": obj.dimensions
|
|
58
|
+
? obj.dimensions.map(item => {
|
|
59
|
+
return model.Dimension.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined,
|
|
62
|
+
"metrics": obj.metrics
|
|
63
|
+
? obj.metrics.map(item => {
|
|
64
|
+
return model.Metric.getDeserializedJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
MetricGroup.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(MetricGroup = exports.MetricGroup || (exports.MetricGroup = {}));
|
|
72
|
+
//# sourceMappingURL=metric-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-group.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/metric-group.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+BlC,IAAiB,WAAW,CAwC3B;AAxCD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GACvE;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sBAAU,aAkBzB,CAAA;IACY,sBAAU,GAAG,cAAc,CAAC;IACzC,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GACnF;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAxCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAwC3B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A metric. This a quantitative measurement of an entity.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface Metric {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the metric
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* Must be NULL at the moment, and \"name\" must be a known metric.
|
|
24
|
+
*/
|
|
25
|
+
"valueSource"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The unit of the metric
|
|
28
|
+
*/
|
|
29
|
+
"unit"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A description of the metric
|
|
32
|
+
*/
|
|
33
|
+
"description"?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace Metric {
|
|
36
|
+
function getJsonObj(obj: Metric): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: Metric): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Metric = void 0;
|
|
16
|
+
var Metric;
|
|
17
|
+
(function (Metric) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Metric.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Metric.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Metric = exports.Metric || (exports.Metric = {}));
|
|
29
|
+
//# sourceMappingURL=metric.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/metric.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA4BH,IAAiB,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAWtB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Sort orders.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SortOrders {
|
|
17
|
+
Asc = "ASC",
|
|
18
|
+
Desc = "DESC"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SortOrders {
|
|
21
|
+
function getJsonObj(obj: SortOrders): SortOrders;
|
|
22
|
+
function getDeserializedJsonObj(obj: SortOrders): SortOrders;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SortOrders = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrders;
|
|
20
|
+
(function (SortOrders) {
|
|
21
|
+
SortOrders["Asc"] = "ASC";
|
|
22
|
+
SortOrders["Desc"] = "DESC";
|
|
23
|
+
})(SortOrders = exports.SortOrders || (exports.SortOrders = {}));
|
|
24
|
+
(function (SortOrders) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrders.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrders.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrders = exports.SortOrders || (exports.SortOrders = {}));
|
|
34
|
+
//# sourceMappingURL=sort-orders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-orders.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/sort-orders.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,2BAAa,CAAA;AACf,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,iCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAO1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A span filter is a named setting that specifies filter criteria to match a subset of the spans.
|
|
16
|
+
*/
|
|
17
|
+
export interface SpanFilterSummary extends model.ConfigSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The name by which this filter can be displayed in the UI.
|
|
20
|
+
*/
|
|
21
|
+
"displayName"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The string that defines the Span Filter expression.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"filterText"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* An optional string that describes what the filter is intended or used for.
|
|
29
|
+
*/
|
|
30
|
+
"description"?: string;
|
|
31
|
+
"configType": string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace SpanFilterSummary {
|
|
34
|
+
function getJsonObj(obj: SpanFilterSummary, isParentJsonObj?: boolean): object;
|
|
35
|
+
const configType = "SPAN_FILTER";
|
|
36
|
+
function getDeserializedJsonObj(obj: SpanFilterSummary, isParentJsonObj?: boolean): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.SpanFilterSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SpanFilterSummary;
|
|
37
|
+
(function (SpanFilterSummary) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ConfigSummary.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
SpanFilterSummary.getJsonObj = getJsonObj;
|
|
43
|
+
SpanFilterSummary.configType = "SPAN_FILTER";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.ConfigSummary.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
SpanFilterSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(SpanFilterSummary = exports.SpanFilterSummary || (exports.SpanFilterSummary = {}));
|
|
52
|
+
//# sourceMappingURL=span-filter-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"span-filter-summary.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/span-filter-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,iBAAiB,CAuBjC;AAvBD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB,EAAE,eAAyB;QAC1E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAuB,CAAC,GACpF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,4BAAU,aAOzB,CAAA;IACY,4BAAU,GAAG,aAAa,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAAsB,EACtB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAuB,CAAC,GACxE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAuBjC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A span filter is a named setting that specifies filter criteria to match a subset of the spans.
|
|
16
|
+
*/
|
|
17
|
+
export interface SpanFilter extends model.Config {
|
|
18
|
+
/**
|
|
19
|
+
* The name by which this filter can be displayed in the UI.
|
|
20
|
+
*/
|
|
21
|
+
"displayName"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The string that defines the Span Filter expression.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"filterText"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* An optional string that describes what the filter is intended or used for.
|
|
29
|
+
*/
|
|
30
|
+
"description"?: string;
|
|
31
|
+
"configType": string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace SpanFilter {
|
|
34
|
+
function getJsonObj(obj: SpanFilter, isParentJsonObj?: boolean): object;
|
|
35
|
+
const configType = "SPAN_FILTER";
|
|
36
|
+
function getDeserializedJsonObj(obj: SpanFilter, isParentJsonObj?: boolean): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.SpanFilter = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SpanFilter;
|
|
37
|
+
(function (SpanFilter) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
SpanFilter.getJsonObj = getJsonObj;
|
|
43
|
+
SpanFilter.configType = "SPAN_FILTER";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getDeserializedJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
SpanFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
49
|
+
})(SpanFilter = exports.SpanFilter || (exports.SpanFilter = {}));
|
|
50
|
+
//# sourceMappingURL=span-filter.js.map
|