oci-managementagent 2.78.0 → 2.79.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/lib/client.d.ts +105 -24
- package/lib/client.js +401 -123
- package/lib/client.js.map +1 -1
- package/lib/model/architecture-types.d.ts +2 -0
- package/lib/model/architecture-types.js +2 -0
- package/lib/model/architecture-types.js.map +1 -1
- package/lib/model/create-data-source-details.d.ts +33 -0
- package/lib/model/create-data-source-details.js +68 -0
- package/lib/model/create-data-source-details.js.map +1 -0
- package/lib/model/create-prometheus-emitter-data-source-details.d.ts +67 -0
- package/lib/model/create-prometheus-emitter-data-source-details.js +68 -0
- package/lib/model/create-prometheus-emitter-data-source-details.js.map +1 -0
- package/lib/model/data-source-summary-item.d.ts +32 -0
- package/lib/model/data-source-summary-item.js +72 -0
- package/lib/model/data-source-summary-item.js.map +1 -0
- package/lib/model/data-source-summary.d.ts +32 -0
- package/lib/model/data-source-summary.js +72 -0
- package/lib/model/data-source-summary.js.map +1 -0
- package/lib/model/data-source-types.d.ts +33 -0
- package/lib/model/{datatypes.js → data-source-types.js} +20 -15
- package/lib/model/data-source-types.js.map +1 -0
- package/lib/model/data-source.d.ts +50 -0
- package/lib/model/data-source.js +72 -0
- package/lib/model/data-source.js.map +1 -0
- package/lib/model/index.d.ts +30 -4
- package/lib/model/index.js +32 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/kubernetes-cluster-data-source-summary-item.d.ts +31 -0
- package/lib/model/kubernetes-cluster-data-source-summary-item.js +56 -0
- package/lib/model/kubernetes-cluster-data-source-summary-item.js.map +1 -0
- package/lib/model/kubernetes-cluster-data-source-summary.d.ts +31 -0
- package/lib/model/kubernetes-cluster-data-source-summary.js +56 -0
- package/lib/model/kubernetes-cluster-data-source-summary.js.map +1 -0
- package/lib/model/kubernetes-cluster-data-source.d.ts +35 -0
- package/lib/model/kubernetes-cluster-data-source.js +56 -0
- package/lib/model/kubernetes-cluster-data-source.js.map +1 -0
- package/lib/model/management-agent-summary.d.ts +4 -0
- package/lib/model/management-agent-summary.js +10 -0
- package/lib/model/management-agent-summary.js.map +1 -1
- package/lib/model/management-agent.d.ts +4 -0
- package/lib/model/management-agent.js +10 -0
- package/lib/model/management-agent.js.map +1 -1
- package/lib/model/{datatypes.d.ts → metric-dimension.d.ts} +14 -11
- package/lib/model/{edit-modes.js → metric-dimension.js} +11 -17
- package/lib/model/metric-dimension.js.map +1 -0
- package/lib/model/operation-types.d.ts +3 -0
- package/lib/model/operation-types.js +3 -0
- package/lib/model/operation-types.js.map +1 -1
- package/lib/model/prometheus-emitter-data-source-summary-item.d.ts +27 -0
- package/lib/model/prometheus-emitter-data-source-summary-item.js +56 -0
- package/lib/model/prometheus-emitter-data-source-summary-item.js.map +1 -0
- package/lib/model/prometheus-emitter-data-source-summary.d.ts +27 -0
- package/lib/model/prometheus-emitter-data-source-summary.js +56 -0
- package/lib/model/prometheus-emitter-data-source-summary.js.map +1 -0
- package/lib/model/prometheus-emitter-data-source.d.ts +67 -0
- package/lib/model/prometheus-emitter-data-source.js +68 -0
- package/lib/model/prometheus-emitter-data-source.js.map +1 -0
- package/lib/model/{edit-modes.d.ts → update-data-source-details.d.ts} +8 -9
- package/lib/model/update-data-source-details.js +68 -0
- package/lib/model/update-data-source-details.js.map +1 -0
- package/lib/model/update-prometheus-emitter-data-source-details.d.ts +63 -0
- package/lib/model/update-prometheus-emitter-data-source-details.js +68 -0
- package/lib/model/update-prometheus-emitter-data-source-details.js.map +1 -0
- package/lib/request/create-data-source-request.d.ts +49 -0
- package/lib/request/create-data-source-request.js +15 -0
- package/lib/request/create-data-source-request.js.map +1 -0
- package/lib/request/create-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-data-source-request.d.ts +39 -0
- package/lib/request/delete-data-source-request.js +15 -0
- package/lib/request/delete-data-source-request.js.map +1 -0
- package/lib/request/delete-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-management-agent-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/deploy-plugins-request.d.ts +1 -1
- package/lib/request/get-auto-upgradable-config-request.d.ts +1 -1
- package/lib/request/get-data-source-request.d.ts +39 -0
- package/lib/request/get-data-source-request.js +15 -0
- package/lib/request/get-data-source-request.js.map +1 -0
- package/lib/request/get-management-agent-install-key-content-request.d.ts +1 -1
- package/lib/request/get-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/get-management-agent-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-availability-histories-request.d.ts +1 -1
- package/lib/request/list-data-sources-request.d.ts +57 -0
- package/lib/request/list-data-sources-request.js +29 -0
- package/lib/request/list-data-sources-request.js.map +1 -0
- package/lib/request/list-management-agent-images-request.d.ts +1 -1
- package/lib/request/list-management-agent-install-keys-request.d.ts +1 -1
- package/lib/request/list-management-agent-plugins-request.d.ts +1 -1
- package/lib/request/list-management-agents-request.d.ts +9 -1
- package/lib/request/list-management-agents-request.js.map +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 +2 -2
- package/lib/request/set-auto-upgradable-config-request.d.ts +1 -1
- package/lib/request/summarize-management-agent-counts-request.d.ts +1 -1
- package/lib/request/summarize-management-agent-plugin-counts-request.d.ts +1 -1
- package/lib/request/update-data-source-request.d.ts +53 -0
- package/lib/request/update-data-source-request.js +15 -0
- package/lib/request/update-data-source-request.js.map +1 -0
- package/lib/request/update-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/update-management-agent-request.d.ts +1 -1
- package/lib/response/create-data-source-response.d.ts +25 -0
- package/lib/response/create-data-source-response.js +15 -0
- package/lib/response/create-data-source-response.js.map +1 -0
- package/lib/response/delete-data-source-response.d.ts +25 -0
- package/lib/response/delete-data-source-response.js +15 -0
- package/lib/response/delete-data-source-response.js.map +1 -0
- package/lib/response/get-data-source-response.d.ts +30 -0
- package/lib/response/get-data-source-response.js +15 -0
- package/lib/response/get-data-source-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-data-sources-response.d.ts +32 -0
- package/lib/response/list-data-sources-response.js +15 -0
- package/lib/response/list-data-sources-response.js.map +1 -0
- package/lib/response/update-data-source-response.d.ts +25 -0
- package/lib/response/update-data-source-response.js +15 -0
- package/lib/response/update-data-source-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/datatypes.js.map +0 -1
- package/lib/model/edit-modes.js.map +0 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Management Agent API
|
|
4
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
5
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200202
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.KubernetesClusterDataSourceSummary = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var KubernetesClusterDataSourceSummary;
|
|
39
|
+
(function (KubernetesClusterDataSourceSummary) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.DataSourceSummary.getJsonObj(obj))), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
KubernetesClusterDataSourceSummary.getJsonObj = getJsonObj;
|
|
47
|
+
KubernetesClusterDataSourceSummary.type = "KUBERNETES_CLUSTER";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.DataSourceSummary.getDeserializedJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
KubernetesClusterDataSourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(KubernetesClusterDataSourceSummary = exports.KubernetesClusterDataSourceSummary || (exports.KubernetesClusterDataSourceSummary = {}));
|
|
56
|
+
//# sourceMappingURL=kubernetes-cluster-data-source-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kubernetes-cluster-data-source-summary.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/kubernetes-cluster-data-source-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,kCAAkC,CA8BlD;AA9BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAwC,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAU,aAYzB,CAAA;IACY,uCAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAC7C,GAAG,CACmC,CAAC,GAC1C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,yDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA8BlD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Management Agent API
|
|
3
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
4
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200202
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A Kubernetes cluster data source.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface KubernetesClusterDataSource extends model.DataSource {
|
|
21
|
+
/**
|
|
22
|
+
* The Kubernetes namespace
|
|
23
|
+
*/
|
|
24
|
+
"namespace": string;
|
|
25
|
+
/**
|
|
26
|
+
* If the Kubernetes cluster type is Daemon set then this will be set to true.
|
|
27
|
+
*/
|
|
28
|
+
"isDaemonSet"?: boolean;
|
|
29
|
+
"type": string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace KubernetesClusterDataSource {
|
|
32
|
+
function getJsonObj(obj: KubernetesClusterDataSource, isParentJsonObj?: boolean): object;
|
|
33
|
+
const type = "KUBERNETES_CLUSTER";
|
|
34
|
+
function getDeserializedJsonObj(obj: KubernetesClusterDataSource, isParentJsonObj?: boolean): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Management Agent API
|
|
4
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
5
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200202
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.KubernetesClusterDataSource = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var KubernetesClusterDataSource;
|
|
39
|
+
(function (KubernetesClusterDataSource) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.DataSource.getJsonObj(obj))), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
KubernetesClusterDataSource.getJsonObj = getJsonObj;
|
|
47
|
+
KubernetesClusterDataSource.type = "KUBERNETES_CLUSTER";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.DataSource.getDeserializedJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
KubernetesClusterDataSource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(KubernetesClusterDataSource = exports.KubernetesClusterDataSource || (exports.KubernetesClusterDataSource = {}));
|
|
56
|
+
//# sourceMappingURL=kubernetes-cluster-data-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kubernetes-cluster-data-source.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/kubernetes-cluster-data-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,2BAA2B,CAyB3C;AAzBD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAiC,CAAC,GACnE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAU,aASzB,CAAA;IACY,gCAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAAgC,EAChC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAiC,CAAC,GAC/E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,kDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAyB3C"}
|
|
@@ -106,6 +106,10 @@ export interface ManagementAgentSummary {
|
|
|
106
106
|
* The install type, either AGENT or GATEWAY
|
|
107
107
|
*/
|
|
108
108
|
"installType"?: model.InstallTypes;
|
|
109
|
+
/**
|
|
110
|
+
* list of dataSources summaries associated with the agent
|
|
111
|
+
*/
|
|
112
|
+
"dataSourceSummaryList"?: Array<model.DataSourceSummaryItem>;
|
|
109
113
|
/**
|
|
110
114
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
111
115
|
* Example: {@code {\"bar-key\": \"value\"}}
|
|
@@ -43,6 +43,11 @@ var ManagementAgentSummary;
|
|
|
43
43
|
? obj.pluginList.map(item => {
|
|
44
44
|
return model.ManagementAgentPluginDetails.getJsonObj(item);
|
|
45
45
|
})
|
|
46
|
+
: undefined,
|
|
47
|
+
"dataSourceSummaryList": obj.dataSourceSummaryList
|
|
48
|
+
? obj.dataSourceSummaryList.map(item => {
|
|
49
|
+
return model.DataSourceSummaryItem.getJsonObj(item);
|
|
50
|
+
})
|
|
46
51
|
: undefined
|
|
47
52
|
});
|
|
48
53
|
return jsonObj;
|
|
@@ -54,6 +59,11 @@ var ManagementAgentSummary;
|
|
|
54
59
|
? obj.pluginList.map(item => {
|
|
55
60
|
return model.ManagementAgentPluginDetails.getDeserializedJsonObj(item);
|
|
56
61
|
})
|
|
62
|
+
: undefined,
|
|
63
|
+
"dataSourceSummaryList": obj.dataSourceSummaryList
|
|
64
|
+
? obj.dataSourceSummaryList.map(item => {
|
|
65
|
+
return model.DataSourceSummaryItem.getDeserializedJsonObj(item);
|
|
66
|
+
})
|
|
57
67
|
: undefined
|
|
58
68
|
});
|
|
59
69
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"management-agent-summary.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/management-agent-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"management-agent-summary.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/management-agent-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkHlC,IAAiB,sBAAsB,CAyCtC;AAzCD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,iCAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,6CAAsB,yBAmBrC,CAAA;AACH,CAAC,EAzCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAyCtC"}
|
|
@@ -114,6 +114,10 @@ export interface ManagementAgent {
|
|
|
114
114
|
* Additional properties for this Management Agent
|
|
115
115
|
*/
|
|
116
116
|
"managementAgentProperties"?: Array<model.ManagementAgentProperty>;
|
|
117
|
+
/**
|
|
118
|
+
* list of dataSources associated with the agent
|
|
119
|
+
*/
|
|
120
|
+
"dataSourceList"?: Array<model.DataSource>;
|
|
117
121
|
/**
|
|
118
122
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
119
123
|
* Example: {@code {\"bar-key\": \"value\"}}
|
|
@@ -48,6 +48,11 @@ var ManagementAgent;
|
|
|
48
48
|
? obj.managementAgentProperties.map(item => {
|
|
49
49
|
return model.ManagementAgentProperty.getJsonObj(item);
|
|
50
50
|
})
|
|
51
|
+
: undefined,
|
|
52
|
+
"dataSourceList": obj.dataSourceList
|
|
53
|
+
? obj.dataSourceList.map(item => {
|
|
54
|
+
return model.DataSource.getJsonObj(item);
|
|
55
|
+
})
|
|
51
56
|
: undefined
|
|
52
57
|
});
|
|
53
58
|
return jsonObj;
|
|
@@ -64,6 +69,11 @@ var ManagementAgent;
|
|
|
64
69
|
? obj.managementAgentProperties.map(item => {
|
|
65
70
|
return model.ManagementAgentProperty.getDeserializedJsonObj(item);
|
|
66
71
|
})
|
|
72
|
+
: undefined,
|
|
73
|
+
"dataSourceList": obj.dataSourceList
|
|
74
|
+
? obj.dataSourceList.map(item => {
|
|
75
|
+
return model.DataSource.getDeserializedJsonObj(item);
|
|
76
|
+
})
|
|
67
77
|
: undefined
|
|
68
78
|
});
|
|
69
79
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"management-agent.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/management-agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"management-agent.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/management-agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0HlC,IAAiB,eAAe,CAmD/B;AAnDD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvC,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,0BAAU,aAwBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvC,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,sCAAsB,yBAwBrC,CAAA;AACH,CAAC,EAnDgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAmD/B"}
|
|
@@ -13,16 +13,19 @@ For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/
|
|
|
13
13
|
* 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.
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
* Metric Dimension item in name/value pair
|
|
17
|
+
*/
|
|
18
|
+
export interface MetricDimension {
|
|
19
|
+
/**
|
|
20
|
+
* Name of the metric dimension
|
|
21
|
+
*/
|
|
22
|
+
"name": string;
|
|
23
|
+
/**
|
|
24
|
+
* Value of the metric dimension
|
|
25
|
+
*/
|
|
26
|
+
"value": string;
|
|
24
27
|
}
|
|
25
|
-
export declare namespace
|
|
26
|
-
function getJsonObj(obj:
|
|
27
|
-
function getDeserializedJsonObj(obj:
|
|
28
|
+
export declare namespace MetricDimension {
|
|
29
|
+
function getJsonObj(obj: MetricDimension): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: MetricDimension): object;
|
|
28
31
|
}
|
|
@@ -14,24 +14,18 @@ For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/
|
|
|
14
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
15
|
*/
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
**/
|
|
21
|
-
var EditModes;
|
|
22
|
-
(function (EditModes) {
|
|
23
|
-
EditModes["ReadOnly"] = "READ_ONLY";
|
|
24
|
-
EditModes["Writable"] = "WRITABLE";
|
|
25
|
-
EditModes["Extensible"] = "EXTENSIBLE";
|
|
26
|
-
})(EditModes = exports.EditModes || (exports.EditModes = {}));
|
|
27
|
-
(function (EditModes) {
|
|
17
|
+
exports.MetricDimension = void 0;
|
|
18
|
+
var MetricDimension;
|
|
19
|
+
(function (MetricDimension) {
|
|
28
20
|
function getJsonObj(obj) {
|
|
29
|
-
|
|
21
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
22
|
+
return jsonObj;
|
|
30
23
|
}
|
|
31
|
-
|
|
24
|
+
MetricDimension.getJsonObj = getJsonObj;
|
|
32
25
|
function getDeserializedJsonObj(obj) {
|
|
33
|
-
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
34
28
|
}
|
|
35
|
-
|
|
36
|
-
})(
|
|
37
|
-
//# sourceMappingURL=
|
|
29
|
+
MetricDimension.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
30
|
+
})(MetricDimension = exports.MetricDimension || (exports.MetricDimension = {}));
|
|
31
|
+
//# sourceMappingURL=metric-dimension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-dimension.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/metric-dimension.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAmBH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
|
|
@@ -20,6 +20,9 @@ export declare enum OperationTypes {
|
|
|
20
20
|
UpgradePlugin = "UPGRADE_PLUGIN",
|
|
21
21
|
CreateUpgradePlugins = "CREATE_UPGRADE_PLUGINS",
|
|
22
22
|
AgentimageUpgrade = "AGENTIMAGE_UPGRADE",
|
|
23
|
+
CreateDataSource = "CREATE_DATA_SOURCE",
|
|
24
|
+
UpdateDataSource = "UPDATE_DATA_SOURCE",
|
|
25
|
+
DeleteDataSource = "DELETE_DATA_SOURCE",
|
|
23
26
|
/**
|
|
24
27
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
28
|
* version of the SDK.
|
|
@@ -24,6 +24,9 @@ var OperationTypes;
|
|
|
24
24
|
OperationTypes["UpgradePlugin"] = "UPGRADE_PLUGIN";
|
|
25
25
|
OperationTypes["CreateUpgradePlugins"] = "CREATE_UPGRADE_PLUGINS";
|
|
26
26
|
OperationTypes["AgentimageUpgrade"] = "AGENTIMAGE_UPGRADE";
|
|
27
|
+
OperationTypes["CreateDataSource"] = "CREATE_DATA_SOURCE";
|
|
28
|
+
OperationTypes["UpdateDataSource"] = "UPDATE_DATA_SOURCE";
|
|
29
|
+
OperationTypes["DeleteDataSource"] = "DELETE_DATA_SOURCE";
|
|
27
30
|
/**
|
|
28
31
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
29
32
|
* version of the SDK.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-types.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/operation-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAKH;;IAEI;AACJ,IAAY,
|
|
1
|
+
{"version":3,"file":"operation-types.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/operation-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAKH;;IAEI;AACJ,IAAY,cAcX;AAdD,WAAY,cAAc;IACxB,gDAA8B,CAAA;IAC9B,kDAAgC,CAAA;IAChC,iEAA+C,CAAA;IAC/C,0DAAwC,CAAA;IACxC,yDAAuC,CAAA;IACvC,yDAAuC,CAAA;IACvC,yDAAuC,CAAA;IAEvC;;;OAGG;IACH,gDAA8B,CAAA;AAChC,CAAC,EAdW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAczB;AAED,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAO9B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Management Agent API
|
|
3
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
4
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200202
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A Prometheus emitter data source summary.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface PrometheusEmitterDataSourceSummaryItem extends model.DataSourceSummaryItem {
|
|
21
|
+
"type": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace PrometheusEmitterDataSourceSummaryItem {
|
|
24
|
+
function getJsonObj(obj: PrometheusEmitterDataSourceSummaryItem, isParentJsonObj?: boolean): object;
|
|
25
|
+
const type = "PROMETHEUS_EMITTER";
|
|
26
|
+
function getDeserializedJsonObj(obj: PrometheusEmitterDataSourceSummaryItem, isParentJsonObj?: boolean): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Management Agent API
|
|
4
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
5
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200202
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PrometheusEmitterDataSourceSummaryItem = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var PrometheusEmitterDataSourceSummaryItem;
|
|
39
|
+
(function (PrometheusEmitterDataSourceSummaryItem) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.DataSourceSummaryItem.getJsonObj(obj))), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
PrometheusEmitterDataSourceSummaryItem.getJsonObj = getJsonObj;
|
|
47
|
+
PrometheusEmitterDataSourceSummaryItem.type = "PROMETHEUS_EMITTER";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.DataSourceSummaryItem.getDeserializedJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PrometheusEmitterDataSourceSummaryItem.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(PrometheusEmitterDataSourceSummaryItem = exports.PrometheusEmitterDataSourceSummaryItem || (exports.PrometheusEmitterDataSourceSummaryItem = {}));
|
|
56
|
+
//# sourceMappingURL=prometheus-emitter-data-source-summary-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prometheus-emitter-data-source-summary-item.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/prometheus-emitter-data-source-summary-item.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,sCAAsC,CA8BtD;AA9BD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CACxB,GAA2C,EAC3C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAA4C,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAU,aAYzB,CAAA;IACY,2CAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAA2C,EAC3C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjD,GAAG,CACuC,CAAC,GAC9C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,6DAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QA8BtD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Management Agent API
|
|
3
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
4
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200202
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A Prometheus emitter data source summary.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface PrometheusEmitterDataSourceSummary extends model.DataSourceSummary {
|
|
21
|
+
"type": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace PrometheusEmitterDataSourceSummary {
|
|
24
|
+
function getJsonObj(obj: PrometheusEmitterDataSourceSummary, isParentJsonObj?: boolean): object;
|
|
25
|
+
const type = "PROMETHEUS_EMITTER";
|
|
26
|
+
function getDeserializedJsonObj(obj: PrometheusEmitterDataSourceSummary, isParentJsonObj?: boolean): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Management Agent API
|
|
4
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
5
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20200202
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2024, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PrometheusEmitterDataSourceSummary = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var PrometheusEmitterDataSourceSummary;
|
|
39
|
+
(function (PrometheusEmitterDataSourceSummary) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.DataSourceSummary.getJsonObj(obj))), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
PrometheusEmitterDataSourceSummary.getJsonObj = getJsonObj;
|
|
47
|
+
PrometheusEmitterDataSourceSummary.type = "PROMETHEUS_EMITTER";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.DataSourceSummary.getDeserializedJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PrometheusEmitterDataSourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(PrometheusEmitterDataSourceSummary = exports.PrometheusEmitterDataSourceSummary || (exports.PrometheusEmitterDataSourceSummary = {}));
|
|
56
|
+
//# sourceMappingURL=prometheus-emitter-data-source-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prometheus-emitter-data-source-summary.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/prometheus-emitter-data-source-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,kCAAkC,CA8BlD;AA9BD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAwC,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAU,aAYzB,CAAA;IACY,uCAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAAuC,EACvC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAC7C,GAAG,CACmC,CAAC,GAC1C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,yDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QA8BlD"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Management Agent API
|
|
3
|
+
* Use the Management Agent API to manage your infrastructure's management agents, including their plugins and install keys.
|
|
4
|
+
For more information, see [Management Agent](https://docs.cloud.oracle.com/iaas/management-agents/index.html).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20200202
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
import * as model from "../model";
|
|
16
|
+
/**
|
|
17
|
+
* A Prometheus data source.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface PrometheusEmitterDataSource extends model.DataSource {
|
|
21
|
+
/**
|
|
22
|
+
* The url through which the Prometheus Exporter publishes its metrics. (http only)
|
|
23
|
+
*/
|
|
24
|
+
"url": string;
|
|
25
|
+
/**
|
|
26
|
+
* The OCI monitoring namespace to which scraped metrics should be uploaded.
|
|
27
|
+
*/
|
|
28
|
+
"namespace": string;
|
|
29
|
+
/**
|
|
30
|
+
* Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
|
31
|
+
*/
|
|
32
|
+
"allowMetrics"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
|
35
|
+
*/
|
|
36
|
+
"proxyUrl"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
39
|
+
*/
|
|
40
|
+
"connectionTimeout"?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
|
+
*/
|
|
44
|
+
"readTimeout"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
|
+
*/
|
|
48
|
+
"readDataLimit"?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Number in minutes. The scraping occurs at the specified interval. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
51
|
+
*/
|
|
52
|
+
"scheduleMins"?: number;
|
|
53
|
+
/**
|
|
54
|
+
* OCI monitoring resource group to assign the metric to.
|
|
55
|
+
*/
|
|
56
|
+
"resourceGroup"?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
|
59
|
+
*/
|
|
60
|
+
"metricDimensions"?: Array<model.MetricDimension>;
|
|
61
|
+
"type": string;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace PrometheusEmitterDataSource {
|
|
64
|
+
function getJsonObj(obj: PrometheusEmitterDataSource, isParentJsonObj?: boolean): object;
|
|
65
|
+
const type = "PROMETHEUS_EMITTER";
|
|
66
|
+
function getDeserializedJsonObj(obj: PrometheusEmitterDataSource, isParentJsonObj?: boolean): object;
|
|
67
|
+
}
|