oci-sch 2.22.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +13 -12
- package/lib/client.js +18 -13
- package/lib/client.js.map +1 -1
- package/lib/model/create-service-connector-details.d.ts +1 -1
- package/lib/model/create-service-connector-details.js.map +1 -1
- package/lib/model/index.d.ts +14 -0
- package/lib/model/index.js +15 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/jmes-path-dimension-value.d.ts +1 -1
- package/lib/model/monitoring-source-all-metrics.d.ts +28 -0
- package/lib/model/monitoring-source-all-metrics.js +57 -0
- package/lib/model/monitoring-source-all-metrics.js.map +1 -0
- package/lib/model/monitoring-source-details.d.ts +35 -0
- package/lib/model/monitoring-source-details.js +67 -0
- package/lib/model/monitoring-source-details.js.map +1 -0
- package/lib/model/monitoring-source-metric-details.d.ts +26 -0
- package/lib/model/monitoring-source-metric-details.js +68 -0
- package/lib/model/monitoring-source-metric-details.js.map +1 -0
- package/lib/model/monitoring-source-namespace-details.d.ts +26 -0
- package/lib/model/monitoring-source-namespace-details.js +68 -0
- package/lib/model/monitoring-source-namespace-details.js.map +1 -0
- package/lib/model/monitoring-source-selected-namespace-details.d.ts +33 -0
- package/lib/model/monitoring-source-selected-namespace-details.js +69 -0
- package/lib/model/monitoring-source-selected-namespace-details.js.map +1 -0
- package/lib/model/monitoring-source-selected-namespace.d.ts +34 -0
- package/lib/model/monitoring-source-selected-namespace.js +60 -0
- package/lib/model/monitoring-source-selected-namespace.js.map +1 -0
- package/lib/model/monitoring-source.d.ts +31 -0
- package/lib/model/monitoring-source.js +60 -0
- package/lib/model/monitoring-source.js.map +1 -0
- package/lib/model/service-connector.d.ts +1 -1
- package/lib/model/service-connector.js.map +1 -1
- package/lib/model/source-details.js +4 -0
- package/lib/model/source-details.js.map +1 -1
- package/lib/model/update-service-connector-details.d.ts +1 -1
- package/lib/model/update-service-connector-details.js.map +1 -1
- package/lib/request/activate-service-connector-request.d.ts +1 -1
- package/lib/request/change-service-connector-compartment-request.d.ts +1 -1
- package/lib/request/create-service-connector-request.d.ts +1 -1
- package/lib/request/deactivate-service-connector-request.d.ts +1 -1
- package/lib/request/delete-service-connector-request.d.ts +1 -1
- package/lib/request/get-service-connector-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-service-connectors-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-service-connector-request.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSourceDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSourceDetails;
|
|
40
|
+
(function (MonitoringSourceDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.SourceDetails.getJsonObj(obj))), {
|
|
43
|
+
"monitoringSources": obj.monitoringSources
|
|
44
|
+
? obj.monitoringSources.map(item => {
|
|
45
|
+
return model.MonitoringSource.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
MonitoringSourceDetails.getJsonObj = getJsonObj;
|
|
52
|
+
MonitoringSourceDetails.kind = "monitoring";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.SourceDetails.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"monitoringSources": obj.monitoringSources
|
|
58
|
+
? obj.monitoringSources.map(item => {
|
|
59
|
+
return model.MonitoringSource.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
MonitoringSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(MonitoringSourceDetails = exports.MonitoringSourceDetails || (exports.MonitoringSourceDetails = {}));
|
|
67
|
+
//# sourceMappingURL=monitoring-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,uBAAuB,CAmCvC;AAnCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAA6B,CAAC,GAC1F;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAU,aAazB,CAAA;IACY,4BAAI,GAAG,YAAY,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAA4B,EAC5B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAA6B,CAAC,GAC9E;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,8CAAsB,yBAkBrC,CAAA;AACH,CAAC,EAnCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAmCvC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service Connector Hub API
|
|
3
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
4
|
+
For more information about Service Connector Hub, see
|
|
5
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200909
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* The metrics to query for the specified metric namespace.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface MonitoringSourceMetricDetails {
|
|
21
|
+
"kind": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace MonitoringSourceMetricDetails {
|
|
24
|
+
function getJsonObj(obj: MonitoringSourceMetricDetails): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: MonitoringSourceMetricDetails): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSourceMetricDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSourceMetricDetails;
|
|
40
|
+
(function (MonitoringSourceMetricDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
if ("kind" in obj && obj.kind) {
|
|
44
|
+
switch (obj.kind) {
|
|
45
|
+
case "all":
|
|
46
|
+
return model.MonitoringSourceAllMetrics.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
throw Error("Unknown value for: " + obj.kind);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
MonitoringSourceMetricDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if ("kind" in obj && obj.kind) {
|
|
57
|
+
switch (obj.kind) {
|
|
58
|
+
case "all":
|
|
59
|
+
return model.MonitoringSourceAllMetrics.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
throw Error("Unknown value for: " + obj.kind);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
MonitoringSourceMetricDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(MonitoringSourceMetricDetails = exports.MonitoringSourceMetricDetails || (exports.MonitoringSourceMetricDetails = {}));
|
|
68
|
+
//# sourceMappingURL=monitoring-source-metric-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source-metric-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source-metric-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,6BAA6B,CAiC7C;AAjCD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,oDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAiC7C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service Connector Hub API
|
|
3
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
4
|
+
For more information about Service Connector Hub, see
|
|
5
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200909
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Discriminator for namespaces in the compartment-specific list.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface MonitoringSourceNamespaceDetails {
|
|
21
|
+
"kind": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace MonitoringSourceNamespaceDetails {
|
|
24
|
+
function getJsonObj(obj: MonitoringSourceNamespaceDetails): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: MonitoringSourceNamespaceDetails): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSourceNamespaceDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSourceNamespaceDetails;
|
|
40
|
+
(function (MonitoringSourceNamespaceDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
if ("kind" in obj && obj.kind) {
|
|
44
|
+
switch (obj.kind) {
|
|
45
|
+
case "selected":
|
|
46
|
+
return model.MonitoringSourceSelectedNamespaceDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
throw Error("Unknown value for: " + obj.kind);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
MonitoringSourceNamespaceDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if ("kind" in obj && obj.kind) {
|
|
57
|
+
switch (obj.kind) {
|
|
58
|
+
case "selected":
|
|
59
|
+
return model.MonitoringSourceSelectedNamespaceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
throw Error("Unknown value for: " + obj.kind);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
MonitoringSourceNamespaceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(MonitoringSourceNamespaceDetails = exports.MonitoringSourceNamespaceDetails || (exports.MonitoringSourceNamespaceDetails = {}));
|
|
68
|
+
//# sourceMappingURL=monitoring-source-namespace-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source-namespace-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source-namespace-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,gCAAgC,CAiChD;AAjCD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,wCAAwC,CAAC,UAAU,CACL,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2CAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,wCAAwC,CAAC,sBAAsB,CACjB,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,uDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAiChD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service Connector Hub API
|
|
3
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
4
|
+
For more information about Service Connector Hub, see
|
|
5
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200909
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* The namespaces for the compartment-specific list.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface MonitoringSourceSelectedNamespaceDetails extends model.MonitoringSourceNamespaceDetails {
|
|
22
|
+
/**
|
|
23
|
+
* The namespaces for the compartment-specific list.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"namespaces": Array<model.MonitoringSourceSelectedNamespace>;
|
|
27
|
+
"kind": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace MonitoringSourceSelectedNamespaceDetails {
|
|
30
|
+
function getJsonObj(obj: MonitoringSourceSelectedNamespaceDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
const kind = "selected";
|
|
32
|
+
function getDeserializedJsonObj(obj: MonitoringSourceSelectedNamespaceDetails, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSourceSelectedNamespaceDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSourceSelectedNamespaceDetails;
|
|
40
|
+
(function (MonitoringSourceSelectedNamespaceDetails) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.MonitoringSourceNamespaceDetails.getJsonObj(obj))), {
|
|
45
|
+
"namespaces": obj.namespaces
|
|
46
|
+
? obj.namespaces.map(item => {
|
|
47
|
+
return model.MonitoringSourceSelectedNamespace.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
MonitoringSourceSelectedNamespaceDetails.getJsonObj = getJsonObj;
|
|
54
|
+
MonitoringSourceSelectedNamespaceDetails.kind = "selected";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
|
+
? obj
|
|
58
|
+
: model.MonitoringSourceNamespaceDetails.getDeserializedJsonObj(obj))), {
|
|
59
|
+
"namespaces": obj.namespaces
|
|
60
|
+
? obj.namespaces.map(item => {
|
|
61
|
+
return model.MonitoringSourceSelectedNamespace.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined
|
|
64
|
+
});
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
MonitoringSourceSelectedNamespaceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(MonitoringSourceSelectedNamespaceDetails = exports.MonitoringSourceSelectedNamespaceDetails || (exports.MonitoringSourceSelectedNamespaceDetails = {}));
|
|
69
|
+
//# sourceMappingURL=monitoring-source-selected-namespace-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source-selected-namespace-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source-selected-namespace-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,wCAAwC,CA4CxD;AA5CD,WAAiB,wCAAwC;IACvD,SAAgB,UAAU,CACxB,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAChD,GAAG,CACyC,CAAC,GAChD;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mDAAU,aAoBzB,CAAA;IACY,6CAAI,GAAG,UAAU,CAAC;IAC/B,SAAgB,sBAAsB,CACpC,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAC5D,GAAG,CACyC,CAAC,GAChD;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,+DAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QA4CxD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service Connector Hub API
|
|
3
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
4
|
+
For more information about Service Connector Hub, see
|
|
5
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200909
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* A metric namespace for the compartment-specific list.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface MonitoringSourceSelectedNamespace {
|
|
22
|
+
/**
|
|
23
|
+
* The source service or application to use when querying for metric data points. Must begin with `oci_`.
|
|
24
|
+
* <p>
|
|
25
|
+
Example: `oci_computeagent`
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"namespace": string;
|
|
29
|
+
"metrics": model.MonitoringSourceAllMetrics;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace MonitoringSourceSelectedNamespace {
|
|
32
|
+
function getJsonObj(obj: MonitoringSourceSelectedNamespace): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: MonitoringSourceSelectedNamespace): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSourceSelectedNamespace = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSourceSelectedNamespace;
|
|
40
|
+
(function (MonitoringSourceSelectedNamespace) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"metrics": obj.metrics
|
|
44
|
+
? model.MonitoringSourceMetricDetails.getJsonObj(obj.metrics)
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
MonitoringSourceSelectedNamespace.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"metrics": obj.metrics
|
|
53
|
+
? model.MonitoringSourceMetricDetails.getDeserializedJsonObj(obj.metrics)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
MonitoringSourceSelectedNamespace.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
59
|
+
})(MonitoringSourceSelectedNamespace = exports.MonitoringSourceSelectedNamespace || (exports.MonitoringSourceSelectedNamespace = {}));
|
|
60
|
+
//# sourceMappingURL=monitoring-source-selected-namespace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source-selected-namespace.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source-selected-namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,iCAAiC,CAyBjD;AAzBD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4CAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsC;QAC3E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAyBjD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service Connector Hub API
|
|
3
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
4
|
+
For more information about Service Connector Hub, see
|
|
5
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200909
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* A compartment-specific list of metric namespaces to retrieve data from.
|
|
19
|
+
*/
|
|
20
|
+
export interface MonitoringSource {
|
|
21
|
+
/**
|
|
22
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric namespaces you want to use for the Monitoring source.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
"namespaceDetails": model.MonitoringSourceSelectedNamespaceDetails;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace MonitoringSource {
|
|
29
|
+
function getJsonObj(obj: MonitoringSource): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: MonitoringSource): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Service Connector Hub API
|
|
4
|
+
* Use the Service Connector Hub API to transfer data between services in Oracle Cloud Infrastructure.
|
|
5
|
+
For more information about Service Connector Hub, see
|
|
6
|
+
[Service Connector Hub Overview](/iaas/Content/service-connector-hub/overview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200909
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MonitoringSource = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var MonitoringSource;
|
|
40
|
+
(function (MonitoringSource) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"namespaceDetails": obj.namespaceDetails
|
|
44
|
+
? model.MonitoringSourceNamespaceDetails.getJsonObj(obj.namespaceDetails)
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
MonitoringSource.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"namespaceDetails": obj.namespaceDetails
|
|
53
|
+
? model.MonitoringSourceNamespaceDetails.getDeserializedJsonObj(obj.namespaceDetails)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
MonitoringSource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
59
|
+
})(MonitoringSource = exports.MonitoringSource || (exports.MonitoringSource = {}));
|
|
60
|
+
//# sourceMappingURL=monitoring-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring-source.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/monitoring-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,gBAAgB,CAyBhC;AAzBD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAyBhC"}
|
|
@@ -68,7 +68,7 @@ export interface ServiceConnector {
|
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
"lifecyleDetails"?: string;
|
|
71
|
-
"source"?: model.LoggingSourceDetails | model.StreamingSourceDetails;
|
|
71
|
+
"source"?: model.LoggingSourceDetails | model.MonitoringSourceDetails | model.StreamingSourceDetails;
|
|
72
72
|
/**
|
|
73
73
|
* The list of tasks.
|
|
74
74
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-connector.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/service-connector.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"service-connector.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/service-connector.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8FlC,IAAiB,gBAAgB,CAiChC;AAjCD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAC7E,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;SAC9E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YACzF,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;SAC1F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,uCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAiChC"}
|
|
@@ -44,6 +44,8 @@ var SourceDetails;
|
|
|
44
44
|
switch (obj.kind) {
|
|
45
45
|
case "logging":
|
|
46
46
|
return model.LoggingSourceDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
case "monitoring":
|
|
48
|
+
return model.MonitoringSourceDetails.getJsonObj(jsonObj, true);
|
|
47
49
|
case "streaming":
|
|
48
50
|
return model.StreamingSourceDetails.getJsonObj(jsonObj, true);
|
|
49
51
|
default:
|
|
@@ -59,6 +61,8 @@ var SourceDetails;
|
|
|
59
61
|
switch (obj.kind) {
|
|
60
62
|
case "logging":
|
|
61
63
|
return model.LoggingSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
case "monitoring":
|
|
65
|
+
return model.MonitoringSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
62
66
|
case "streaming":
|
|
63
67
|
return model.StreamingSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
64
68
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,aAAa,
|
|
1
|
+
{"version":3,"file":"source-details.js","sourceRoot":"","sources":["../../../../../lib/sch/lib/model/source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,aAAa,CAqD7B;AArDD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;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,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YAC7B,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CACjB,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,oCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqD7B"}
|
|
@@ -30,7 +30,7 @@ export interface UpdateServiceConnectorDetails {
|
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"description"?: string;
|
|
33
|
-
"source"?: model.LoggingSourceDetails | model.StreamingSourceDetails;
|
|
33
|
+
"source"?: model.LoggingSourceDetails | model.MonitoringSourceDetails | model.StreamingSourceDetails;
|
|
34
34
|
/**
|
|
35
35
|
* The list of the tasks.
|
|
36
36
|
*
|