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,73 @@
|
|
|
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.Config = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Config;
|
|
37
|
+
(function (Config) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
+
if ("configType" in obj && obj.configType) {
|
|
41
|
+
switch (obj.configType) {
|
|
42
|
+
case "METRIC_GROUP":
|
|
43
|
+
return model.MetricGroup.getJsonObj(jsonObj, true);
|
|
44
|
+
case "APDEX":
|
|
45
|
+
return model.ApdexRules.getJsonObj(jsonObj, true);
|
|
46
|
+
case "SPAN_FILTER":
|
|
47
|
+
return model.SpanFilter.getJsonObj(jsonObj, true);
|
|
48
|
+
default:
|
|
49
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
Config.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if ("configType" in obj && obj.configType) {
|
|
58
|
+
switch (obj.configType) {
|
|
59
|
+
case "METRIC_GROUP":
|
|
60
|
+
return model.MetricGroup.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "APDEX":
|
|
62
|
+
return model.ApdexRules.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "SPAN_FILTER":
|
|
64
|
+
return model.SpanFilter.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
default:
|
|
66
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
Config.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(Config = exports.Config || (exports.Config = {}));
|
|
73
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6ClC,IAAiB,MAAM,CAsCtB;AAtCD,WAAiB,MAAM;IACrB,SAAgB,UAAU,CAAC,GAAW;QACpC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAA6B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAClF,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAA4B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAChF,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAA4B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAChF;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,iBAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAW;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CACjB,OAAQ,EACpC,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAA4B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC5F,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAA4B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC5F;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,6BAAsB,yBAmBrC,CAAA;AACH,CAAC,EAtCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAsCtB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* The set of Apdex rules to be used in Apdex computation. In the current version, only one rule set may exist per
|
|
16
|
+
* configuration, and attempting to create a rule set if it already exists will result in an error. This may change
|
|
17
|
+
* in future releases.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateApdexRulesDetails extends model.CreateConfigDetails {
|
|
21
|
+
"rules": Array<model.Apdex>;
|
|
22
|
+
/**
|
|
23
|
+
* The name by which this rule set can be displayed to the user.
|
|
24
|
+
*/
|
|
25
|
+
"displayName": string;
|
|
26
|
+
"configType": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace CreateApdexRulesDetails {
|
|
29
|
+
function getJsonObj(obj: CreateApdexRulesDetails, isParentJsonObj?: boolean): object;
|
|
30
|
+
const configType = "APDEX";
|
|
31
|
+
function getDeserializedJsonObj(obj: CreateApdexRulesDetails, isParentJsonObj?: boolean): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CreateApdexRulesDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateApdexRulesDetails;
|
|
37
|
+
(function (CreateApdexRulesDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.CreateConfigDetails.getJsonObj(obj))), {
|
|
42
|
+
"rules": obj.rules
|
|
43
|
+
? obj.rules.map(item => {
|
|
44
|
+
return model.Apdex.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
CreateApdexRulesDetails.getJsonObj = getJsonObj;
|
|
51
|
+
CreateApdexRulesDetails.configType = "APDEX";
|
|
52
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
54
|
+
? obj
|
|
55
|
+
: model.CreateConfigDetails.getDeserializedJsonObj(obj))), {
|
|
56
|
+
"rules": obj.rules
|
|
57
|
+
? obj.rules.map(item => {
|
|
58
|
+
return model.Apdex.getDeserializedJsonObj(item);
|
|
59
|
+
})
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
CreateApdexRulesDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(CreateApdexRulesDetails = exports.CreateApdexRulesDetails || (exports.CreateApdexRulesDetails = {}));
|
|
66
|
+
//# sourceMappingURL=create-apdex-rules-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-apdex-rules-details.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/create-apdex-rules-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,uBAAuB,CAqCvC;AArCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GACxE;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,kCAAU,aAezB,CAAA;IACY,kCAAU,GAAG,OAAO,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GACpF;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,8CAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAqCvC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* The request body used to create new Configuration entities. It must specify the configuration type of the item to
|
|
15
|
+
* create, as well as the actual data to populate the item with.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateConfigDetails {
|
|
19
|
+
/**
|
|
20
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
21
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"freeformTags"?: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
29
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"definedTags"?: {
|
|
33
|
+
[key: string]: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
"configType": string;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace CreateConfigDetails {
|
|
40
|
+
function getJsonObj(obj: CreateConfigDetails): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: CreateConfigDetails): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.CreateConfigDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateConfigDetails;
|
|
37
|
+
(function (CreateConfigDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
+
if ("configType" in obj && obj.configType) {
|
|
41
|
+
switch (obj.configType) {
|
|
42
|
+
case "SPAN_FILTER":
|
|
43
|
+
return model.CreateSpanFilterDetails.getJsonObj(jsonObj, true);
|
|
44
|
+
case "METRIC_GROUP":
|
|
45
|
+
return model.CreateMetricGroupDetails.getJsonObj(jsonObj, true);
|
|
46
|
+
case "APDEX":
|
|
47
|
+
return model.CreateApdexRulesDetails.getJsonObj(jsonObj, true);
|
|
48
|
+
default:
|
|
49
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
CreateConfigDetails.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if ("configType" in obj && obj.configType) {
|
|
58
|
+
switch (obj.configType) {
|
|
59
|
+
case "SPAN_FILTER":
|
|
60
|
+
return model.CreateSpanFilterDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "METRIC_GROUP":
|
|
62
|
+
return model.CreateMetricGroupDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "APDEX":
|
|
64
|
+
return model.CreateApdexRulesDetails.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
default:
|
|
66
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
CreateConfigDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(CreateConfigDetails = exports.CreateConfigDetails || (exports.CreateConfigDetails = {}));
|
|
73
|
+
//# sourceMappingURL=create-config-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-config-details.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/create-config-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,mBAAmB,CAqDnC;AArDD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,8BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YACzC,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,0CAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAqDnC"}
|
|
@@ -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 CreateMetricGroupDetails extends model.CreateConfigDetails {
|
|
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 CreateMetricGroupDetails {
|
|
41
|
+
function getJsonObj(obj: CreateMetricGroupDetails, isParentJsonObj?: boolean): object;
|
|
42
|
+
const configType = "METRIC_GROUP";
|
|
43
|
+
function getDeserializedJsonObj(obj: CreateMetricGroupDetails, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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.CreateMetricGroupDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateMetricGroupDetails;
|
|
37
|
+
(function (CreateMetricGroupDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.CreateConfigDetails.getJsonObj(obj))), {
|
|
42
|
+
"dimensions": obj.dimensions
|
|
43
|
+
? obj.dimensions.map(item => {
|
|
44
|
+
return model.Dimension.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined,
|
|
47
|
+
"metrics": obj.metrics
|
|
48
|
+
? obj.metrics.map(item => {
|
|
49
|
+
return model.Metric.getJsonObj(item);
|
|
50
|
+
})
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
CreateMetricGroupDetails.getJsonObj = getJsonObj;
|
|
56
|
+
CreateMetricGroupDetails.configType = "METRIC_GROUP";
|
|
57
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
|
+
? obj
|
|
60
|
+
: model.CreateConfigDetails.getDeserializedJsonObj(obj))), {
|
|
61
|
+
"dimensions": obj.dimensions
|
|
62
|
+
? obj.dimensions.map(item => {
|
|
63
|
+
return model.Dimension.getDeserializedJsonObj(item);
|
|
64
|
+
})
|
|
65
|
+
: undefined,
|
|
66
|
+
"metrics": obj.metrics
|
|
67
|
+
? obj.metrics.map(item => {
|
|
68
|
+
return model.Metric.getDeserializedJsonObj(item);
|
|
69
|
+
})
|
|
70
|
+
: undefined
|
|
71
|
+
});
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
CreateMetricGroupDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(CreateMetricGroupDetails = exports.CreateMetricGroupDetails || (exports.CreateMetricGroupDetails = {}));
|
|
76
|
+
//# sourceMappingURL=create-metric-group-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-metric-group-details.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/create-metric-group-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+BlC,IAAiB,wBAAwB,CA+CxC;AA/CD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAA8B,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,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;IApBe,mCAAU,aAoBzB,CAAA;IACY,mCAAU,GAAG,cAAc,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAA8B,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,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,+CAAsB,yBAuBrC,CAAA;AACH,CAAC,EA/CgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA+CxC"}
|
|
@@ -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 CreateSpanFilterDetails extends model.CreateConfigDetails {
|
|
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 CreateSpanFilterDetails {
|
|
34
|
+
function getJsonObj(obj: CreateSpanFilterDetails, isParentJsonObj?: boolean): object;
|
|
35
|
+
const configType = "SPAN_FILTER";
|
|
36
|
+
function getDeserializedJsonObj(obj: CreateSpanFilterDetails, isParentJsonObj?: boolean): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.CreateSpanFilterDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateSpanFilterDetails;
|
|
37
|
+
(function (CreateSpanFilterDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.CreateConfigDetails.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
CreateSpanFilterDetails.getJsonObj = getJsonObj;
|
|
45
|
+
CreateSpanFilterDetails.configType = "SPAN_FILTER";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.CreateConfigDetails.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
CreateSpanFilterDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(CreateSpanFilterDetails = exports.CreateSpanFilterDetails || (exports.CreateSpanFilterDetails = {}));
|
|
54
|
+
//# sourceMappingURL=create-span-filter-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-span-filter-details.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/create-span-filter-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GACxE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,kCAAU,aASzB,CAAA;IACY,kCAAU,GAAG,aAAa,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GACpF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,8CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 dimension is a label that can be used to describe or group metrics.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface Dimension {
|
|
18
|
+
/**
|
|
19
|
+
* The dimension name
|
|
20
|
+
*/
|
|
21
|
+
"name": string;
|
|
22
|
+
/**
|
|
23
|
+
* The source to populate the dimension. Must be NULL at the moment.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"valueSource"?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace Dimension {
|
|
29
|
+
function getJsonObj(obj: Dimension): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: Dimension): object;
|
|
31
|
+
}
|
|
@@ -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.Dimension = void 0;
|
|
16
|
+
var Dimension;
|
|
17
|
+
(function (Dimension) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Dimension.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Dimension.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Dimension = exports.Dimension || (exports.Dimension = {}));
|
|
29
|
+
//# sourceMappingURL=dimension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimension.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/dimension.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqBH,IAAiB,SAAS,CAWzB;AAXD,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAWzB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Apdex from "./apdex";
|
|
14
|
+
export import Apdex = Apdex.Apdex;
|
|
15
|
+
import * as Config from "./config";
|
|
16
|
+
export import Config = Config.Config;
|
|
17
|
+
import * as ConfigCollection from "./config-collection";
|
|
18
|
+
export import ConfigCollection = ConfigCollection.ConfigCollection;
|
|
19
|
+
import * as ConfigSummary from "./config-summary";
|
|
20
|
+
export import ConfigSummary = ConfigSummary.ConfigSummary;
|
|
21
|
+
import * as ConfigTypes from "./config-types";
|
|
22
|
+
export import ConfigTypes = ConfigTypes.ConfigTypes;
|
|
23
|
+
import * as CreateConfigDetails from "./create-config-details";
|
|
24
|
+
export import CreateConfigDetails = CreateConfigDetails.CreateConfigDetails;
|
|
25
|
+
import * as Dimension from "./dimension";
|
|
26
|
+
export import Dimension = Dimension.Dimension;
|
|
27
|
+
import * as Metric from "./metric";
|
|
28
|
+
export import Metric = Metric.Metric;
|
|
29
|
+
import * as SortOrders from "./sort-orders";
|
|
30
|
+
export import SortOrders = SortOrders.SortOrders;
|
|
31
|
+
import * as UpdateConfigDetails from "./update-config-details";
|
|
32
|
+
export import UpdateConfigDetails = UpdateConfigDetails.UpdateConfigDetails;
|
|
33
|
+
import * as ApdexRules from "./apdex-rules";
|
|
34
|
+
export import ApdexRules = ApdexRules.ApdexRules;
|
|
35
|
+
import * as ApdexRulesSummary from "./apdex-rules-summary";
|
|
36
|
+
export import ApdexRulesSummary = ApdexRulesSummary.ApdexRulesSummary;
|
|
37
|
+
import * as CreateApdexRulesDetails from "./create-apdex-rules-details";
|
|
38
|
+
export import CreateApdexRulesDetails = CreateApdexRulesDetails.CreateApdexRulesDetails;
|
|
39
|
+
import * as CreateMetricGroupDetails from "./create-metric-group-details";
|
|
40
|
+
export import CreateMetricGroupDetails = CreateMetricGroupDetails.CreateMetricGroupDetails;
|
|
41
|
+
import * as CreateSpanFilterDetails from "./create-span-filter-details";
|
|
42
|
+
export import CreateSpanFilterDetails = CreateSpanFilterDetails.CreateSpanFilterDetails;
|
|
43
|
+
import * as MetricGroup from "./metric-group";
|
|
44
|
+
export import MetricGroup = MetricGroup.MetricGroup;
|
|
45
|
+
import * as MetricGroupSummary from "./metric-group-summary";
|
|
46
|
+
export import MetricGroupSummary = MetricGroupSummary.MetricGroupSummary;
|
|
47
|
+
import * as SpanFilter from "./span-filter";
|
|
48
|
+
export import SpanFilter = SpanFilter.SpanFilter;
|
|
49
|
+
import * as SpanFilterSummary from "./span-filter-summary";
|
|
50
|
+
export import SpanFilterSummary = SpanFilterSummary.SpanFilterSummary;
|
|
51
|
+
import * as UpdateApdexRulesDetails from "./update-apdex-rules-details";
|
|
52
|
+
export import UpdateApdexRulesDetails = UpdateApdexRulesDetails.UpdateApdexRulesDetails;
|
|
53
|
+
import * as UpdateMetricGroupDetails from "./update-metric-group-details";
|
|
54
|
+
export import UpdateMetricGroupDetails = UpdateMetricGroupDetails.UpdateMetricGroupDetails;
|
|
55
|
+
import * as UpdateSpanFilterDetails from "./update-span-filter-details";
|
|
56
|
+
export import UpdateSpanFilterDetails = UpdateSpanFilterDetails.UpdateSpanFilterDetails;
|