oci-managementagent 2.77.1 → 2.79.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 +105 -23
- package/lib/client.js +391 -24
- 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 +70 -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 +74 -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 +74 -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 +74 -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 +70 -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,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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.PrometheusEmitterDataSource = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var PrometheusEmitterDataSource;
|
|
39
|
+
(function (PrometheusEmitterDataSource) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.DataSource.getJsonObj(obj))), {
|
|
44
|
+
"metricDimensions": obj.metricDimensions
|
|
45
|
+
? obj.metricDimensions.map(item => {
|
|
46
|
+
return model.MetricDimension.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
PrometheusEmitterDataSource.getJsonObj = getJsonObj;
|
|
53
|
+
PrometheusEmitterDataSource.type = "PROMETHEUS_EMITTER";
|
|
54
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
56
|
+
? obj
|
|
57
|
+
: model.DataSource.getDeserializedJsonObj(obj))), {
|
|
58
|
+
"metricDimensions": obj.metricDimensions
|
|
59
|
+
? obj.metricDimensions.map(item => {
|
|
60
|
+
return model.MetricDimension.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
PrometheusEmitterDataSource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(PrometheusEmitterDataSource = exports.PrometheusEmitterDataSource || (exports.PrometheusEmitterDataSource = {}));
|
|
68
|
+
//# sourceMappingURL=prometheus-emitter-data-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prometheus-emitter-data-source.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/prometheus-emitter-data-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoDlC,IAAiB,2BAA2B,CAqC3C;AArCD,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;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,sCAAU,aAezB,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;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kDAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAqC3C"}
|
|
@@ -13,14 +13,13 @@ 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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Extensible = "EXTENSIBLE"
|
|
16
|
+
* A request to change the data source.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateDataSourceDetails {
|
|
20
|
+
"type": string;
|
|
22
21
|
}
|
|
23
|
-
export declare namespace
|
|
24
|
-
function getJsonObj(obj:
|
|
25
|
-
function getDeserializedJsonObj(obj:
|
|
22
|
+
export declare namespace UpdateDataSourceDetails {
|
|
23
|
+
function getJsonObj(obj: UpdateDataSourceDetails): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: UpdateDataSourceDetails): object;
|
|
26
25
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.UpdateDataSourceDetails = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
const common = require("oci-common");
|
|
39
|
+
var UpdateDataSourceDetails;
|
|
40
|
+
(function (UpdateDataSourceDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
43
|
+
if (obj && "type" in obj && obj.type) {
|
|
44
|
+
switch (obj.type) {
|
|
45
|
+
case "PROMETHEUS_EMITTER":
|
|
46
|
+
return model.UpdatePrometheusEmitterDataSourceDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
UpdateDataSourceDetails.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "type" in obj && obj.type) {
|
|
58
|
+
switch (obj.type) {
|
|
59
|
+
case "PROMETHEUS_EMITTER":
|
|
60
|
+
return model.UpdatePrometheusEmitterDataSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
default:
|
|
62
|
+
if (common.LOG.logger)
|
|
63
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
UpdateDataSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(UpdateDataSourceDetails = exports.UpdateDataSourceDetails || (exports.UpdateDataSourceDetails = {}));
|
|
70
|
+
//# sourceMappingURL=update-data-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/update-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,uBAAuB,CAiCvC;AAjCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,wCAAwC,CAAC,UAAU,CACL,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,kCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,oBAAoB;oBACvB,OAAO,KAAK,CAAC,wCAAwC,CAAC,sBAAsB,CACjB,OAAQ,EACjE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,8CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAiCvC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 UpdatePrometheusEmitterDataSourceDetails extends model.UpdateDataSourceDetails {
|
|
21
|
+
/**
|
|
22
|
+
* The url through which the Prometheus Exporter publishes its metrics. (http only)
|
|
23
|
+
*/
|
|
24
|
+
"url": string;
|
|
25
|
+
/**
|
|
26
|
+
* Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
|
27
|
+
*/
|
|
28
|
+
"allowMetrics"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
|
31
|
+
*/
|
|
32
|
+
"proxyUrl"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
"connectionTimeout"?: number;
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
*/
|
|
40
|
+
"readTimeout"?: number;
|
|
41
|
+
/**
|
|
42
|
+
* 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.
|
|
43
|
+
*/
|
|
44
|
+
"readDataLimitInKilobytes"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Number in minutes. The scraping occurs at the specified interval. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
|
+
*/
|
|
48
|
+
"scheduleMins"?: number;
|
|
49
|
+
/**
|
|
50
|
+
* OCI monitoring resource group to assign the metric to.
|
|
51
|
+
*/
|
|
52
|
+
"resourceGroup"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
|
55
|
+
*/
|
|
56
|
+
"metricDimensions"?: Array<model.MetricDimension>;
|
|
57
|
+
"type": string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace UpdatePrometheusEmitterDataSourceDetails {
|
|
60
|
+
function getJsonObj(obj: UpdatePrometheusEmitterDataSourceDetails, isParentJsonObj?: boolean): object;
|
|
61
|
+
const type = "PROMETHEUS_EMITTER";
|
|
62
|
+
function getDeserializedJsonObj(obj: UpdatePrometheusEmitterDataSourceDetails, isParentJsonObj?: boolean): object;
|
|
63
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.UpdatePrometheusEmitterDataSourceDetails = void 0;
|
|
37
|
+
const model = __importStar(require("../model"));
|
|
38
|
+
var UpdatePrometheusEmitterDataSourceDetails;
|
|
39
|
+
(function (UpdatePrometheusEmitterDataSourceDetails) {
|
|
40
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
42
|
+
? obj
|
|
43
|
+
: model.UpdateDataSourceDetails.getJsonObj(obj))), {
|
|
44
|
+
"metricDimensions": obj.metricDimensions
|
|
45
|
+
? obj.metricDimensions.map(item => {
|
|
46
|
+
return model.MetricDimension.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
UpdatePrometheusEmitterDataSourceDetails.getJsonObj = getJsonObj;
|
|
53
|
+
UpdatePrometheusEmitterDataSourceDetails.type = "PROMETHEUS_EMITTER";
|
|
54
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
56
|
+
? obj
|
|
57
|
+
: model.UpdateDataSourceDetails.getDeserializedJsonObj(obj))), {
|
|
58
|
+
"metricDimensions": obj.metricDimensions
|
|
59
|
+
? obj.metricDimensions.map(item => {
|
|
60
|
+
return model.MetricDimension.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
UpdatePrometheusEmitterDataSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(UpdatePrometheusEmitterDataSourceDetails = exports.UpdatePrometheusEmitterDataSourceDetails || (exports.UpdatePrometheusEmitterDataSourceDetails = {}));
|
|
68
|
+
//# sourceMappingURL=update-prometheus-emitter-data-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-prometheus-emitter-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/model/update-prometheus-emitter-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgDlC,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,uBAAuB,CAAC,UAAU,CACvC,GAAG,CACyC,CAAC,GAChD;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mDAAU,aAoBzB,CAAA;IACY,6CAAI,GAAG,oBAAoB,CAAC;IACzC,SAAgB,sBAAsB,CACpC,GAA6C,EAC7C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACnD,GAAG,CACyC,CAAC,GAChD;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC9B,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,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,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200202
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/CreateDataSource.ts.html |here} to see how to use CreateDataSourceRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDataSourceRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Unique Management Agent identifier
|
|
21
|
+
*/
|
|
22
|
+
"managementAgentId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details of DataSource to be created for the given Management Agent.
|
|
25
|
+
*/
|
|
26
|
+
"createDataSourceDetails": model.CreatePrometheusEmitterDataSourceDetails;
|
|
27
|
+
/**
|
|
28
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
29
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
30
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
31
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
32
|
+
* might be rejected.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"opcRetryToken"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The client request ID for tracing.
|
|
38
|
+
*/
|
|
39
|
+
"opcRequestId"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
42
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
43
|
+
* etag from a previous GET or POST response for that resource.
|
|
44
|
+
* The resource will be updated or deleted only if the etag you
|
|
45
|
+
* provide matches the resource's current etag value.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"ifMatch"?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200202
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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
|
+
//# sourceMappingURL=create-data-source-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-data-source-request.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/request/create-data-source-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/CreateManagementAgentInstallKey.ts.html |here} to see how to use CreateManagementAgentInstallKeyRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateManagementAgentInstallKeyRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200202
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteDataSource.ts.html |here} to see how to use DeleteDataSourceRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteDataSourceRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique Management Agent identifier
|
|
20
|
+
*/
|
|
21
|
+
"managementAgentId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Data source type and name identifier.
|
|
24
|
+
*/
|
|
25
|
+
"dataSourceKey": string;
|
|
26
|
+
/**
|
|
27
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
28
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
29
|
+
* etag from a previous GET or POST response for that resource.
|
|
30
|
+
* The resource will be updated or deleted only if the etag you
|
|
31
|
+
* provide matches the resource's current etag value.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"ifMatch"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The client request ID for tracing.
|
|
37
|
+
*/
|
|
38
|
+
"opcRequestId"?: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200202
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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
|
+
//# sourceMappingURL=delete-data-source-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-data-source-request.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/request/delete-data-source-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteManagementAgentInstallKey.ts.html |here} to see how to use DeleteManagementAgentInstallKeyRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteManagementAgentInstallKeyRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteManagementAgent.ts.html |here} to see how to use DeleteManagementAgentRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteManagementAgentRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequestRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteWorkRequestRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/DeployPlugins.ts.html |here} to see how to use DeployPluginsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface DeployPluginsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetAutoUpgradableConfig.ts.html |here} to see how to use GetAutoUpgradableConfigRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetAutoUpgradableConfigRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200202
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetDataSource.ts.html |here} to see how to use GetDataSourceRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetDataSourceRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique Management Agent identifier
|
|
20
|
+
*/
|
|
21
|
+
"managementAgentId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Data source type and name identifier.
|
|
24
|
+
*/
|
|
25
|
+
"dataSourceKey": string;
|
|
26
|
+
/**
|
|
27
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
28
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
29
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
30
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
31
|
+
* might be rejected.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"opcRetryToken"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The client request ID for tracing.
|
|
37
|
+
*/
|
|
38
|
+
"opcRequestId"?: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200202
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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
|
+
//# sourceMappingURL=get-data-source-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-data-source-request.js","sourceRoot":"","sources":["../../../../../lib/managementagent/lib/request/get-data-source-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/managementagent/GetManagementAgentInstallKeyContent.ts.html |here} to see how to use GetManagementAgentInstallKeyContentRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetManagementAgentInstallKeyContentRequest extends common.BaseRequest {
|
|
18
18
|
/**
|