oci-monitoring 2.76.1 → 2.77.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +101 -14
- package/lib/client.js +383 -14
- package/lib/client.js.map +1 -1
- package/lib/model/aggregated-datapoint.d.ts +3 -3
- package/lib/model/aggregated-datapoint.js +1 -1
- package/lib/model/alarm-dimension-states-collection.d.ts +4 -4
- package/lib/model/alarm-dimension-states-collection.js +1 -1
- package/lib/model/alarm-dimension-states-entry.d.ts +3 -3
- package/lib/model/alarm-dimension-states-entry.js +1 -1
- package/lib/model/alarm-history-collection.d.ts +2 -2
- package/lib/model/alarm-history-collection.js +1 -1
- package/lib/model/alarm-history-entry.d.ts +5 -5
- package/lib/model/alarm-history-entry.js +1 -1
- package/lib/model/alarm-status-summary.d.ts +6 -6
- package/lib/model/alarm-status-summary.js +1 -1
- package/lib/model/alarm-summary.d.ts +18 -12
- package/lib/model/alarm-summary.js +1 -1
- package/lib/model/alarm-summary.js.map +1 -1
- package/lib/model/alarm-suppression-alarm-target.d.ts +32 -0
- package/lib/model/alarm-suppression-alarm-target.js +58 -0
- package/lib/model/alarm-suppression-alarm-target.js.map +1 -0
- package/lib/model/alarm-suppression-collection.d.ts +32 -0
- package/lib/model/alarm-suppression-collection.js +65 -0
- package/lib/model/alarm-suppression-collection.js.map +1 -0
- package/lib/model/alarm-suppression-history-item-collection.d.ts +32 -0
- package/lib/model/alarm-suppression-history-item-collection.js +65 -0
- package/lib/model/alarm-suppression-history-item-collection.js.map +1 -0
- package/lib/model/alarm-suppression-history-item.d.ts +87 -0
- package/lib/model/alarm-suppression-history-item.js +71 -0
- package/lib/model/alarm-suppression-history-item.js.map +1 -0
- package/lib/model/alarm-suppression-summary.d.ts +114 -0
- package/lib/model/alarm-suppression-summary.js +61 -0
- package/lib/model/alarm-suppression-summary.js.map +1 -0
- package/lib/model/alarm-suppression-target.d.ts +26 -0
- package/lib/model/alarm-suppression-target.js +72 -0
- package/lib/model/alarm-suppression-target.js.map +1 -0
- package/lib/model/alarm-suppression.d.ts +123 -0
- package/lib/model/alarm-suppression.js +71 -0
- package/lib/model/alarm-suppression.js.map +1 -0
- package/lib/model/alarm.d.ts +26 -27
- package/lib/model/alarm.js +1 -1
- package/lib/model/alarm.js.map +1 -1
- package/lib/model/change-alarm-compartment-details.d.ts +1 -1
- package/lib/model/change-alarm-compartment-details.js +1 -1
- package/lib/model/create-alarm-details.d.ts +23 -24
- package/lib/model/create-alarm-details.js +1 -1
- package/lib/model/create-alarm-details.js.map +1 -1
- package/lib/model/create-alarm-suppression-details.d.ts +91 -0
- package/lib/model/create-alarm-suppression-details.js +61 -0
- package/lib/model/create-alarm-suppression-details.js.map +1 -0
- package/lib/model/datapoint.d.ts +3 -3
- package/lib/model/datapoint.js +1 -1
- package/lib/model/failed-metric-record.d.ts +1 -1
- package/lib/model/failed-metric-record.js +1 -1
- package/lib/model/index.d.ts +19 -1
- package/lib/model/index.js +20 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/list-metrics-details.d.ts +9 -9
- package/lib/model/list-metrics-details.js +1 -1
- package/lib/model/metric-data-details.d.ts +8 -8
- package/lib/model/metric-data-details.js +1 -1
- package/lib/model/metric-data.d.ts +8 -8
- package/lib/model/metric-data.js +1 -1
- package/lib/model/metric.d.ts +5 -5
- package/lib/model/metric.js +1 -1
- package/lib/model/post-metric-data-details.d.ts +2 -2
- package/lib/model/post-metric-data-details.js +1 -1
- package/lib/model/post-metric-data-response-details.d.ts +1 -1
- package/lib/model/post-metric-data-response-details.js +1 -1
- package/lib/model/retrieve-dimension-states-details.d.ts +4 -4
- package/lib/model/retrieve-dimension-states-details.js +1 -1
- package/lib/model/summarize-alarm-suppression-history-details.d.ts +58 -0
- package/lib/model/summarize-alarm-suppression-history-details.js +33 -0
- package/lib/model/summarize-alarm-suppression-history-details.js.map +1 -0
- package/lib/model/summarize-metrics-data-details.d.ts +12 -9
- package/lib/model/summarize-metrics-data-details.js +1 -1
- package/lib/model/summarize-metrics-data-details.js.map +1 -1
- package/lib/model/suppression.d.ts +6 -5
- package/lib/model/suppression.js +1 -1
- package/lib/model/suppression.js.map +1 -1
- package/lib/model/update-alarm-details.d.ts +22 -23
- package/lib/model/update-alarm-details.js +1 -1
- package/lib/model/update-alarm-details.js.map +1 -1
- package/lib/monitoring-waiter.d.ts +9 -1
- package/lib/monitoring-waiter.js +13 -1
- package/lib/monitoring-waiter.js.map +1 -1
- package/lib/request/change-alarm-compartment-request.d.ts +2 -2
- package/lib/request/create-alarm-request.d.ts +1 -1
- package/lib/request/create-alarm-suppression-request.d.ts +39 -0
- package/lib/request/create-alarm-suppression-request.js +15 -0
- package/lib/request/create-alarm-suppression-request.js.map +1 -0
- package/lib/request/delete-alarm-request.d.ts +2 -2
- package/lib/request/delete-alarm-suppression-request.d.ts +35 -0
- package/lib/request/delete-alarm-suppression-request.js +15 -0
- package/lib/request/delete-alarm-suppression-request.js.map +1 -0
- package/lib/request/get-alarm-history-request.d.ts +5 -5
- package/lib/request/get-alarm-request.d.ts +1 -1
- package/lib/request/get-alarm-suppression-request.d.ts +28 -0
- package/lib/request/get-alarm-suppression-request.js +15 -0
- package/lib/request/get-alarm-suppression-request.js.map +1 -0
- package/lib/request/index.d.ts +11 -1
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-alarm-suppressions-request.d.ts +83 -0
- package/lib/request/list-alarm-suppressions-request.js +30 -0
- package/lib/request/list-alarm-suppressions-request.js.map +1 -0
- package/lib/request/list-alarms-request.d.ts +5 -5
- package/lib/request/list-alarms-status-request.d.ts +15 -16
- package/lib/request/list-alarms-status-request.js.map +1 -1
- package/lib/request/list-metrics-request.d.ts +3 -3
- package/lib/request/post-metric-data-request.d.ts +1 -1
- package/lib/request/remove-alarm-suppression-request.d.ts +2 -2
- package/lib/request/retrieve-dimension-states-request.d.ts +2 -2
- package/lib/request/summarize-alarm-suppression-history-request.d.ts +52 -0
- package/lib/request/summarize-alarm-suppression-history-request.js +15 -0
- package/lib/request/summarize-alarm-suppression-history-request.js.map +1 -0
- package/lib/request/summarize-metrics-data-request.d.ts +2 -2
- package/lib/request/update-alarm-request.d.ts +2 -2
- package/lib/response/create-alarm-response.d.ts +1 -1
- package/lib/response/create-alarm-suppression-response.d.ts +30 -0
- package/lib/response/create-alarm-suppression-response.js +15 -0
- package/lib/response/create-alarm-suppression-response.js.map +1 -0
- package/lib/response/delete-alarm-suppression-response.d.ts +20 -0
- package/lib/response/delete-alarm-suppression-response.js +15 -0
- package/lib/response/delete-alarm-suppression-response.js.map +1 -0
- package/lib/response/get-alarm-response.d.ts +1 -1
- package/lib/response/get-alarm-suppression-response.d.ts +30 -0
- package/lib/response/get-alarm-suppression-response.js +15 -0
- package/lib/response/get-alarm-suppression-response.js.map +1 -0
- package/lib/response/index.d.ts +11 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-alarm-suppressions-response.d.ts +39 -0
- package/lib/response/list-alarm-suppressions-response.js +15 -0
- package/lib/response/list-alarm-suppressions-response.js.map +1 -0
- package/lib/response/summarize-alarm-suppression-history-response.d.ts +39 -0
- package/lib/response/summarize-alarm-suppression-history-response.js +15 -0
- package/lib/response/summarize-alarm-suppression-history-response.js.map +1 -0
- package/lib/response/update-alarm-response.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, 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
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Collection of property summaries for dimension-specific alarm suppressions.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface AlarmSuppressionCollection {
|
|
23
|
+
/**
|
|
24
|
+
* List of property summaries for dimension-specific alarm suppressions.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"items": Array<model.AlarmSuppressionSummary>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace AlarmSuppressionCollection {
|
|
30
|
+
function getJsonObj(obj: AlarmSuppressionCollection): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: AlarmSuppressionCollection): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AlarmSuppressionCollection = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var AlarmSuppressionCollection;
|
|
41
|
+
(function (AlarmSuppressionCollection) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"items": obj.items
|
|
45
|
+
? obj.items.map(item => {
|
|
46
|
+
return model.AlarmSuppressionSummary.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
AlarmSuppressionCollection.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"items": obj.items
|
|
56
|
+
? obj.items.map(item => {
|
|
57
|
+
return model.AlarmSuppressionSummary.getDeserializedJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
AlarmSuppressionCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(AlarmSuppressionCollection = exports.AlarmSuppressionCollection || (exports.AlarmSuppressionCollection = {}));
|
|
65
|
+
//# sourceMappingURL=alarm-suppression-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-suppression-collection.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-suppression-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, 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
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Collection of property summaries for alarm suppression history items.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface AlarmSuppressionHistoryItemCollection {
|
|
23
|
+
/**
|
|
24
|
+
* List of alarm suppression history items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"items": Array<model.AlarmSuppressionHistoryItem>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace AlarmSuppressionHistoryItemCollection {
|
|
30
|
+
function getJsonObj(obj: AlarmSuppressionHistoryItemCollection): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: AlarmSuppressionHistoryItemCollection): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AlarmSuppressionHistoryItemCollection = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var AlarmSuppressionHistoryItemCollection;
|
|
41
|
+
(function (AlarmSuppressionHistoryItemCollection) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"items": obj.items
|
|
45
|
+
? obj.items.map(item => {
|
|
46
|
+
return model.AlarmSuppressionHistoryItem.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
AlarmSuppressionHistoryItemCollection.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"items": obj.items
|
|
56
|
+
? obj.items.map(item => {
|
|
57
|
+
return model.AlarmSuppressionHistoryItem.getDeserializedJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
AlarmSuppressionHistoryItemCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(AlarmSuppressionHistoryItemCollection = exports.AlarmSuppressionHistoryItemCollection || (exports.AlarmSuppressionHistoryItemCollection = {}));
|
|
65
|
+
//# sourceMappingURL=alarm-suppression-history-item-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-suppression-history-item-collection.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-suppression-history-item-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,qCAAqC,CA6BrD;AA7BD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QA6BrD"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, 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
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* A summary of properties for the specified alarm suppression history item.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface AlarmSuppressionHistoryItem {
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
|
|
25
|
+
*/
|
|
26
|
+
"suppressionId": string;
|
|
27
|
+
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
|
|
28
|
+
/**
|
|
29
|
+
* The level of this alarm suppression.
|
|
30
|
+
* {@code ALARM} indicates a suppression of the entire alarm, regardless of dimension.
|
|
31
|
+
* {@code DIMENSION} indicates a suppression configured for specified dimensions.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"level": AlarmSuppressionHistoryItem.Level;
|
|
35
|
+
/**
|
|
36
|
+
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
37
|
+
*/
|
|
38
|
+
"displayName": string;
|
|
39
|
+
/**
|
|
40
|
+
* Human-readable reason for this alarm suppression.
|
|
41
|
+
* It does not have to be unique, and it's changeable.
|
|
42
|
+
* Avoid entering confidential information.
|
|
43
|
+
* <p>
|
|
44
|
+
Oracle recommends including tracking information for the event or associated work,
|
|
45
|
+
* such as a ticket number.
|
|
46
|
+
* <p>
|
|
47
|
+
Example: {@code Planned outage due to change IT-1234.}
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"description"?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
|
|
53
|
+
* <p>
|
|
54
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"dimensions"?: {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The start date and time for the suppression actually starts, inclusive. Format defined by RFC3339.
|
|
62
|
+
* <p>
|
|
63
|
+
Example: {@code 2023-02-01T01:02:29.600Z}
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"timeEffectiveFrom": Date;
|
|
67
|
+
/**
|
|
68
|
+
* The end date and time for the suppression actually ends, inclusive. Format defined by RFC3339.
|
|
69
|
+
* <p>
|
|
70
|
+
Example: {@code 2023-02-01T02:02:29.600Z}
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
"timeEffectiveUntil": Date;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace AlarmSuppressionHistoryItem {
|
|
76
|
+
enum Level {
|
|
77
|
+
Alarm = "ALARM",
|
|
78
|
+
Dimension = "DIMENSION",
|
|
79
|
+
/**
|
|
80
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
81
|
+
* version of the SDK.
|
|
82
|
+
*/
|
|
83
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
84
|
+
}
|
|
85
|
+
function getJsonObj(obj: AlarmSuppressionHistoryItem): object;
|
|
86
|
+
function getDeserializedJsonObj(obj: AlarmSuppressionHistoryItem): object;
|
|
87
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AlarmSuppressionHistoryItem = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var AlarmSuppressionHistoryItem;
|
|
41
|
+
(function (AlarmSuppressionHistoryItem) {
|
|
42
|
+
let Level;
|
|
43
|
+
(function (Level) {
|
|
44
|
+
Level["Alarm"] = "ALARM";
|
|
45
|
+
Level["Dimension"] = "DIMENSION";
|
|
46
|
+
/**
|
|
47
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
48
|
+
* version of the SDK.
|
|
49
|
+
*/
|
|
50
|
+
Level["UnknownValue"] = "UNKNOWN_VALUE";
|
|
51
|
+
})(Level = AlarmSuppressionHistoryItem.Level || (AlarmSuppressionHistoryItem.Level = {}));
|
|
52
|
+
function getJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
55
|
+
? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
AlarmSuppressionHistoryItem.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
64
|
+
? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
AlarmSuppressionHistoryItem.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
70
|
+
})(AlarmSuppressionHistoryItem = exports.AlarmSuppressionHistoryItem || (exports.AlarmSuppressionHistoryItem = {}));
|
|
71
|
+
//# sourceMappingURL=alarm-suppression-history-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-suppression-history-item.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-suppression-history-item.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2DlC,IAAiB,2BAA2B,CAmC3C;AAnCD,WAAiB,2BAA2B;IAC1C,IAAY,KAQX;IARD,WAAY,KAAK;QACf,wBAAe,CAAA;QACf,gCAAuB,CAAA;QACvB;;;WAGG;QACH,uCAA8B,CAAA;IAChC,CAAC,EARW,KAAK,GAAL,iCAAK,KAAL,iCAAK,QAQhB;IAED,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kDAAsB,yBAWrC,CAAA;AACH,CAAC,EAnCgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAmC3C"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, 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
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* A summary of properties for the specified dimension-specific alarm suppression.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface AlarmSuppressionSummary {
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
|
|
29
|
+
*/
|
|
30
|
+
"compartmentId": string;
|
|
31
|
+
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
|
|
32
|
+
/**
|
|
33
|
+
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
34
|
+
*/
|
|
35
|
+
"displayName": string;
|
|
36
|
+
/**
|
|
37
|
+
* Human-readable reason for this alarm suppression.
|
|
38
|
+
* It does not have to be unique, and it's changeable.
|
|
39
|
+
* Avoid entering confidential information.
|
|
40
|
+
* <p>
|
|
41
|
+
Oracle recommends including tracking information for the event or associated work,
|
|
42
|
+
* such as a ticket number.
|
|
43
|
+
* <p>
|
|
44
|
+
Example: {@code Planned outage due to change IT-1234.}
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"description"?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
|
|
50
|
+
* <p>
|
|
51
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"dimensions": {
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The start date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
|
59
|
+
* <p>
|
|
60
|
+
Example: {@code 2023-02-01T01:02:29.600Z}
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
"timeSuppressFrom": Date;
|
|
64
|
+
/**
|
|
65
|
+
* The end date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
|
66
|
+
* <p>
|
|
67
|
+
Example: {@code 2023-02-01T02:02:29.600Z}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"timeSuppressUntil": Date;
|
|
71
|
+
/**
|
|
72
|
+
* The current lifecycle state of the alarm suppression.
|
|
73
|
+
* <p>
|
|
74
|
+
Example: {@code DELETED}
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"lifecycleState": string;
|
|
78
|
+
/**
|
|
79
|
+
* The date and time the alarm suppression was created. Format defined by RFC3339.
|
|
80
|
+
* <p>
|
|
81
|
+
Example: {@code 2023-02-01T01:02:29.600Z}
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
"timeCreated": Date;
|
|
85
|
+
/**
|
|
86
|
+
* The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339.
|
|
87
|
+
* <p>
|
|
88
|
+
Example: {@code 2023-02-03T01:02:29.600Z}
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
"timeUpdated": Date;
|
|
92
|
+
/**
|
|
93
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
94
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"freeformTags"?: {
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
102
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
"definedTags"?: {
|
|
106
|
+
[key: string]: {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
export declare namespace AlarmSuppressionSummary {
|
|
112
|
+
function getJsonObj(obj: AlarmSuppressionSummary): object;
|
|
113
|
+
function getDeserializedJsonObj(obj: AlarmSuppressionSummary): object;
|
|
114
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AlarmSuppressionSummary = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var AlarmSuppressionSummary;
|
|
41
|
+
(function (AlarmSuppressionSummary) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
45
|
+
? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
AlarmSuppressionSummary.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
54
|
+
? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
AlarmSuppressionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(AlarmSuppressionSummary = exports.AlarmSuppressionSummary || (exports.AlarmSuppressionSummary = {}));
|
|
61
|
+
//# sourceMappingURL=alarm-suppression-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-suppression-summary.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-suppression-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyFlC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, 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
|
+
/**
|
|
18
|
+
* The target of the alarm suppression.
|
|
19
|
+
*/
|
|
20
|
+
export interface AlarmSuppressionTarget {
|
|
21
|
+
"targetType": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace AlarmSuppressionTarget {
|
|
24
|
+
function getJsonObj(obj: AlarmSuppressionTarget): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: AlarmSuppressionTarget): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.AlarmSuppressionTarget = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
const common = require("oci-common");
|
|
41
|
+
var AlarmSuppressionTarget;
|
|
42
|
+
(function (AlarmSuppressionTarget) {
|
|
43
|
+
function getJsonObj(obj) {
|
|
44
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
45
|
+
if (obj && "targetType" in obj && obj.targetType) {
|
|
46
|
+
switch (obj.targetType) {
|
|
47
|
+
case "ALARM":
|
|
48
|
+
return model.AlarmSuppressionAlarmTarget.getJsonObj(jsonObj, true);
|
|
49
|
+
default:
|
|
50
|
+
if (common.LOG.logger)
|
|
51
|
+
common.LOG.logger.info(`Unknown value for: ${obj.targetType}`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
AlarmSuppressionTarget.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
59
|
+
if (obj && "targetType" in obj && obj.targetType) {
|
|
60
|
+
switch (obj.targetType) {
|
|
61
|
+
case "ALARM":
|
|
62
|
+
return model.AlarmSuppressionAlarmTarget.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
default:
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.targetType}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
AlarmSuppressionTarget.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(AlarmSuppressionTarget = exports.AlarmSuppressionTarget || (exports.AlarmSuppressionTarget = {}));
|
|
72
|
+
//# sourceMappingURL=alarm-suppression-target.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-suppression-target.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-suppression-target.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,sBAAsB,CAiCtC;AAjCD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,iCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,6CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAiCtC"}
|