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,64 @@
|
|
|
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.ApdexRulesSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ApdexRulesSummary;
|
|
37
|
+
(function (ApdexRulesSummary) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ConfigSummary.getJsonObj(obj))), {
|
|
40
|
+
"rules": obj.rules
|
|
41
|
+
? obj.rules.map(item => {
|
|
42
|
+
return model.Apdex.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ApdexRulesSummary.getJsonObj = getJsonObj;
|
|
49
|
+
ApdexRulesSummary.configType = "APDEX";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.ConfigSummary.getDeserializedJsonObj(obj))), {
|
|
54
|
+
"rules": obj.rules
|
|
55
|
+
? obj.rules.map(item => {
|
|
56
|
+
return model.Apdex.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
ApdexRulesSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(ApdexRulesSummary = exports.ApdexRulesSummary || (exports.ApdexRulesSummary = {}));
|
|
64
|
+
//# sourceMappingURL=apdex-rules-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apdex-rules-summary.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/apdex-rules-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,iBAAiB,CAmCjC;AAnCD,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;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;IAbe,4BAAU,aAazB,CAAA;IACY,4BAAU,GAAG,OAAO,CAAC;IAClC,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;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,wCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAnCgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAmCjC"}
|
|
@@ -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
|
+
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 can exist in the
|
|
16
|
+
* configuration. This may change in the future.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ApdexRules extends model.Config {
|
|
20
|
+
/**
|
|
21
|
+
* The name by which this rule set can be displayed to the user.
|
|
22
|
+
*/
|
|
23
|
+
"displayName"?: string;
|
|
24
|
+
"rules"?: Array<model.Apdex>;
|
|
25
|
+
"configType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace ApdexRules {
|
|
28
|
+
function getJsonObj(obj: ApdexRules, isParentJsonObj?: boolean): object;
|
|
29
|
+
const configType = "APDEX";
|
|
30
|
+
function getDeserializedJsonObj(obj: ApdexRules, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ApdexRules = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ApdexRules;
|
|
37
|
+
(function (ApdexRules) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getJsonObj(obj))), {
|
|
40
|
+
"rules": obj.rules
|
|
41
|
+
? obj.rules.map(item => {
|
|
42
|
+
return model.Apdex.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ApdexRules.getJsonObj = getJsonObj;
|
|
49
|
+
ApdexRules.configType = "APDEX";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Config.getDeserializedJsonObj(obj))), {
|
|
52
|
+
"rules": obj.rules
|
|
53
|
+
? obj.rules.map(item => {
|
|
54
|
+
return model.Apdex.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
ApdexRules.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(ApdexRules = exports.ApdexRules || (exports.ApdexRules = {}));
|
|
62
|
+
//# sourceMappingURL=apdex-rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apdex-rules.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/apdex-rules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,UAAU,CA8B1B;AA9BD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe,EAAE,eAAyB;QACnE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAgB,CAAC,GACtE;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;IAbe,qBAAU,aAazB,CAAA;IACY,qBAAU,GAAG,OAAO,CAAC;IAClC,SAAgB,sBAAsB,CAAC,GAAe,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAgB,CAAC,GAClF;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;IAbe,iCAAsB,yBAarC,CAAA;AACH,CAAC,EA9BgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA8B1B"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
* An Apdex configuration rule.
|
|
15
|
+
* The Apdex Score is computed based on how the response time of a span compares to two predefined threshold values.
|
|
16
|
+
* The first threshold defines the maximum response time that can still be considered satisfactory for the end user.
|
|
17
|
+
* The second one defines the maximum response time that can be considered tolerable. All times larger than that will
|
|
18
|
+
* be considered frustrating for the end user.
|
|
19
|
+
* An Apdex configuration rule works by selecting a subset of spans based on a filter expression and applying the
|
|
20
|
+
* two threshold comparisons to compute a score for each of the selected spans.
|
|
21
|
+
* The rule has a property \"isApplyToErrorSpans\" that controls whether or not to compute the Apdex for spans that have
|
|
22
|
+
* have been marked as errors. If this property is set to true, then error spans will have their Apdex score computed
|
|
23
|
+
* the same as non-error ones. If set to false, then computation for error spans will be skipped, and the score will
|
|
24
|
+
* be set to \"frustrating\" regardless of the configured thresholds. The default is \"false\".
|
|
25
|
+
* The property \"isEnabled\" controls whether an Apdex score is computed for the spans. Can be used to disable Apdex
|
|
26
|
+
* scores for certain spans. The default is \"true\".
|
|
27
|
+
* The property \"priority\" is used to define the importance of the rule when it's part of a rule set.
|
|
28
|
+
* Lower values indicate a higher priority. Rules with higher priorities will be evaluated first in the rule set. The
|
|
29
|
+
* priority of the rules must be unique within a rule set.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export interface Apdex {
|
|
33
|
+
/**
|
|
34
|
+
* The string that defines the Span Filter expression.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"filterText": string;
|
|
38
|
+
/**
|
|
39
|
+
* The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher
|
|
40
|
+
* priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are
|
|
41
|
+
* ignored. Rules within the same rule set cannot have the same priority.
|
|
42
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
|
+
*/
|
|
44
|
+
"priority": number;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain
|
|
47
|
+
* spans don't get an Apdex score. The default is \"true\".
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"isEnabled"?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The maximum response time in milliseconds that will be considered satisfactory for the end user.
|
|
53
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
54
|
+
*/
|
|
55
|
+
"satisfiedResponseTime"?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The maximum response time in milliseconds that will be considered tolerable for the end user. Response
|
|
58
|
+
* times beyond this threshold will be considered frustrating.
|
|
59
|
+
* This value cannot be lower than \"satisfiedResponseTime\".
|
|
60
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
61
|
+
*/
|
|
62
|
+
"toleratingResponseTime"?: number;
|
|
63
|
+
/**
|
|
64
|
+
* If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false,
|
|
65
|
+
* the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds.
|
|
66
|
+
* Default is false.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"isApplyToErrorSpans"?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* A user-friendly name that provides a short description this rule.
|
|
72
|
+
*/
|
|
73
|
+
"displayName"?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace Apdex {
|
|
76
|
+
function getJsonObj(obj: Apdex): object;
|
|
77
|
+
function getDeserializedJsonObj(obj: Apdex): object;
|
|
78
|
+
}
|
|
@@ -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.Apdex = void 0;
|
|
16
|
+
var Apdex;
|
|
17
|
+
(function (Apdex) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Apdex.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Apdex.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Apdex = exports.Apdex || (exports.Apdex = {}));
|
|
29
|
+
//# sourceMappingURL=apdex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apdex.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/apdex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoEH,IAAiB,KAAK,CAWrB;AAXD,WAAiB,KAAK;IACpB,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAWrB"}
|
|
@@ -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
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A collection of configuration entities
|
|
16
|
+
*/
|
|
17
|
+
export interface ConfigCollection {
|
|
18
|
+
"items": Array<model.ConfigSummary>;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ConfigCollection {
|
|
21
|
+
function getJsonObj(obj: ConfigCollection): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: ConfigCollection): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.ConfigCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ConfigCollection;
|
|
37
|
+
(function (ConfigCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.ConfigSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ConfigCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.ConfigSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
ConfigCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(ConfigCollection = exports.ConfigCollection || (exports.ConfigCollection = {}));
|
|
61
|
+
//# sourceMappingURL=config-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-collection.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/config-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,gBAAgB,CA6BhC;AA7BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6BhC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 update the Configuration entity. It must specify the data to update the item with.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface ConfigSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
|
|
20
|
+
* when the item is created.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"id"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
26
|
+
* timestamp format.
|
|
27
|
+
* Example: `2020-02-12T22:47:12.613Z`
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"timeCreated"?: Date;
|
|
31
|
+
/**
|
|
32
|
+
* The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
33
|
+
* timestamp format.
|
|
34
|
+
* Example: `2020-02-13T22:47:12.613Z`
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"timeUpdated"?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
40
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"freeformTags"?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
48
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"definedTags"?: {
|
|
52
|
+
[key: string]: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
"configType": string;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace ConfigSummary {
|
|
59
|
+
function getJsonObj(obj: ConfigSummary): object;
|
|
60
|
+
function getDeserializedJsonObj(obj: ConfigSummary): object;
|
|
61
|
+
}
|
|
@@ -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.ConfigSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ConfigSummary;
|
|
37
|
+
(function (ConfigSummary) {
|
|
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.MetricGroupSummary.getJsonObj(jsonObj, true);
|
|
44
|
+
case "APDEX":
|
|
45
|
+
return model.ApdexRulesSummary.getJsonObj(jsonObj, true);
|
|
46
|
+
case "SPAN_FILTER":
|
|
47
|
+
return model.SpanFilterSummary.getJsonObj(jsonObj, true);
|
|
48
|
+
default:
|
|
49
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
ConfigSummary.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.MetricGroupSummary.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "APDEX":
|
|
62
|
+
return model.ApdexRulesSummary.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "SPAN_FILTER":
|
|
64
|
+
return model.SpanFilterSummary.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
default:
|
|
66
|
+
throw Error("Unknown value for: " + obj.configType);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
ConfigSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(ConfigSummary = exports.ConfigSummary || (exports.ConfigSummary = {}));
|
|
73
|
+
//# sourceMappingURL=config-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-summary.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/config-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ClC,IAAiB,aAAa,CAqD7B;AArDD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,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,kBAAkB,CAAC,UAAU,CACL,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,wBAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,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,kBAAkB,CAAC,sBAAsB,CACjB,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CACjB,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CACjB,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;aACvD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,oCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqD7B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* Configuration Type
|
|
15
|
+
**/
|
|
16
|
+
export declare enum ConfigTypes {
|
|
17
|
+
SpanFilter = "SPAN_FILTER",
|
|
18
|
+
MetricGroup = "METRIC_GROUP",
|
|
19
|
+
Apdex = "APDEX",
|
|
20
|
+
/**
|
|
21
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
22
|
+
* version of the SDK.
|
|
23
|
+
*/
|
|
24
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
25
|
+
}
|
|
26
|
+
export declare namespace ConfigTypes {
|
|
27
|
+
function getJsonObj(obj: ConfigTypes): ConfigTypes;
|
|
28
|
+
function getDeserializedJsonObj(obj: ConfigTypes): ConfigTypes;
|
|
29
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ConfigTypes = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Configuration Type
|
|
18
|
+
**/
|
|
19
|
+
var ConfigTypes;
|
|
20
|
+
(function (ConfigTypes) {
|
|
21
|
+
ConfigTypes["SpanFilter"] = "SPAN_FILTER";
|
|
22
|
+
ConfigTypes["MetricGroup"] = "METRIC_GROUP";
|
|
23
|
+
ConfigTypes["Apdex"] = "APDEX";
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
ConfigTypes["UnknownValue"] = "UNKNOWN_VALUE";
|
|
29
|
+
})(ConfigTypes = exports.ConfigTypes || (exports.ConfigTypes = {}));
|
|
30
|
+
(function (ConfigTypes) {
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
return obj;
|
|
33
|
+
}
|
|
34
|
+
ConfigTypes.getJsonObj = getJsonObj;
|
|
35
|
+
function getDeserializedJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
ConfigTypes.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
39
|
+
})(ConfigTypes = exports.ConfigTypes || (exports.ConfigTypes = {}));
|
|
40
|
+
//# sourceMappingURL=config-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-types.js","sourceRoot":"","sources":["../../../../../lib/apmconfig/lib/model/config-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,WAUX;AAVD,WAAY,WAAW;IACrB,yCAA0B,CAAA;IAC1B,2CAA4B,CAAA;IAC5B,8BAAe,CAAA;IAEf;;;OAGG;IACH,6CAA8B,CAAA;AAChC,CAAC,EAVW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAUtB;AAED,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,kCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAO3B"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 configuration item. This item has a number of mutually exclusive properties that can be used to set specific
|
|
15
|
+
* portions of the configuration.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface Config {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID will be generated
|
|
21
|
+
* when the item is created.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"id"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
27
|
+
* timestamp format.
|
|
28
|
+
* Example: `2020-02-12T22:47:12.613Z`
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"timeCreated"?: Date;
|
|
32
|
+
/**
|
|
33
|
+
* The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)
|
|
34
|
+
* timestamp format.
|
|
35
|
+
* Example: `2020-02-13T22:47:12.613Z`
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"timeUpdated"?: Date;
|
|
39
|
+
/**
|
|
40
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
41
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"freeformTags"?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
49
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"definedTags"?: {
|
|
53
|
+
[key: string]: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
"configType": string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace Config {
|
|
60
|
+
function getJsonObj(obj: Config): object;
|
|
61
|
+
function getDeserializedJsonObj(obj: Config): object;
|
|
62
|
+
}
|