oci-stackmonitoring 2.102.0 → 2.102.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 +148 -0
- package/lib/client.js +1073 -31
- package/lib/client.js.map +1 -1
- package/lib/model/alarm-condition-collection.d.ts +26 -0
- package/lib/model/alarm-condition-collection.js +61 -0
- package/lib/model/alarm-condition-collection.js.map +1 -0
- package/lib/model/alarm-condition-life-cycle-details.d.ts +30 -0
- package/lib/model/alarm-condition-life-cycle-details.js +41 -0
- package/lib/model/alarm-condition-life-cycle-details.js.map +1 -0
- package/lib/model/alarm-condition-life-cycle-states.d.ts +31 -0
- package/lib/model/alarm-condition-life-cycle-states.js +42 -0
- package/lib/model/alarm-condition-life-cycle-states.js.map +1 -0
- package/lib/model/alarm-condition-severity.d.ts +28 -0
- package/lib/model/alarm-condition-severity.js +39 -0
- package/lib/model/alarm-condition-severity.js.map +1 -0
- package/lib/model/alarm-condition-summary.d.ts +98 -0
- package/lib/model/alarm-condition-summary.js +61 -0
- package/lib/model/alarm-condition-summary.js.map +1 -0
- package/lib/model/alarm-condition.d.ts +98 -0
- package/lib/model/alarm-condition.js +61 -0
- package/lib/model/alarm-condition.js.map +1 -0
- package/lib/model/condition-type.d.ts +28 -0
- package/lib/model/condition-type.js +39 -0
- package/lib/model/condition-type.js.map +1 -0
- package/lib/model/condition.d.ts +46 -0
- package/lib/model/condition.js +29 -0
- package/lib/model/condition.js.map +1 -0
- package/lib/model/create-alarm-condition-details.d.ts +64 -0
- package/lib/model/create-alarm-condition-details.js +61 -0
- package/lib/model/create-alarm-condition-details.js.map +1 -0
- package/lib/model/create-monitoring-template-details.d.ts +76 -0
- package/lib/model/create-monitoring-template-details.js +61 -0
- package/lib/model/create-monitoring-template-details.js.map +1 -0
- package/lib/model/defined-alarm-condition.d.ts +34 -0
- package/lib/model/defined-alarm-condition.js +61 -0
- package/lib/model/defined-alarm-condition.js.map +1 -0
- package/lib/model/defined-monitoring-template-collection.d.ts +26 -0
- package/lib/model/defined-monitoring-template-collection.js +61 -0
- package/lib/model/defined-monitoring-template-collection.js.map +1 -0
- package/lib/model/defined-monitoring-template-summary.d.ts +64 -0
- package/lib/model/defined-monitoring-template-summary.js +61 -0
- package/lib/model/defined-monitoring-template-summary.js.map +1 -0
- package/lib/model/index.d.ts +58 -0
- package/lib/model/index.js +62 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/license-type.d.ts +1 -0
- package/lib/model/license-type.js +1 -0
- package/lib/model/license-type.js.map +1 -1
- package/lib/model/member-reference-type.d.ts +29 -0
- package/lib/model/member-reference-type.js +40 -0
- package/lib/model/member-reference-type.js.map +1 -0
- package/lib/model/member-reference.d.ts +34 -0
- package/lib/model/member-reference.js +29 -0
- package/lib/model/member-reference.js.map +1 -0
- package/lib/model/message-format.d.ts +29 -0
- package/lib/model/message-format.js +40 -0
- package/lib/model/message-format.js.map +1 -0
- package/lib/model/metric-extension-metric-aggregation-collection.d.ts +26 -0
- package/lib/model/metric-extension-metric-aggregation-collection.js +61 -0
- package/lib/model/metric-extension-metric-aggregation-collection.js.map +1 -0
- package/lib/model/metric-extension-resource-aggregation-collection.d.ts +26 -0
- package/lib/model/metric-extension-resource-aggregation-collection.js +61 -0
- package/lib/model/metric-extension-resource-aggregation-collection.js.map +1 -0
- package/lib/model/metric-extension-resource-aggregation.d.ts +33 -0
- package/lib/model/metric-extension-resource-aggregation.js +29 -0
- package/lib/model/metric-extension-resource-aggregation.js.map +1 -0
- package/lib/model/metric-extension.d.ts +1 -1
- package/lib/model/metric-extensions-metric-aggregation.d.ts +33 -0
- package/lib/model/metric-extensions-metric-aggregation.js +29 -0
- package/lib/model/metric-extensions-metric-aggregation.js.map +1 -0
- package/lib/model/monitored-resource-type-summary.d.ts +6 -0
- package/lib/model/monitored-resource-type-summary.js.map +1 -1
- package/lib/model/monitored-resource-type.d.ts +6 -0
- package/lib/model/monitored-resource-type.js.map +1 -1
- package/lib/model/monitoring-template-collection.d.ts +26 -0
- package/lib/model/monitoring-template-collection.js +61 -0
- package/lib/model/monitoring-template-collection.js.map +1 -0
- package/lib/model/monitoring-template-life-cycle-details.d.ts +29 -0
- package/lib/model/monitoring-template-life-cycle-details.js +40 -0
- package/lib/model/monitoring-template-life-cycle-details.js.map +1 -0
- package/lib/model/monitoring-template-life-cycle-states.d.ts +31 -0
- package/lib/model/monitoring-template-life-cycle-states.js +42 -0
- package/lib/model/monitoring-template-life-cycle-states.js.map +1 -0
- package/lib/model/monitoring-template-summary.d.ts +102 -0
- package/lib/model/monitoring-template-summary.js +61 -0
- package/lib/model/monitoring-template-summary.js.map +1 -0
- package/lib/model/monitoring-template.d.ts +118 -0
- package/lib/model/monitoring-template.js +61 -0
- package/lib/model/monitoring-template.js.map +1 -0
- package/lib/model/operation-status.d.ts +1 -0
- package/lib/model/operation-status.js +1 -0
- package/lib/model/operation-status.js.map +1 -1
- package/lib/model/operation-type.d.ts +2 -0
- package/lib/model/operation-type.js +2 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/request-summarized-metric-extensions-metrics-details.d.ts +52 -0
- package/lib/model/request-summarized-metric-extensions-metrics-details.js +38 -0
- package/lib/model/request-summarized-metric-extensions-metrics-details.js.map +1 -0
- package/lib/model/request-summarized-metric-extensions-resources-details.d.ts +67 -0
- package/lib/model/request-summarized-metric-extensions-resources-details.js +47 -0
- package/lib/model/request-summarized-metric-extensions-resources-details.js.map +1 -0
- package/lib/model/system-format-resource-type-metadata-details.d.ts +7 -0
- package/lib/model/system-format-resource-type-metadata-details.js.map +1 -1
- package/lib/model/update-alarm-condition-details.d.ts +64 -0
- package/lib/model/update-alarm-condition-details.js +61 -0
- package/lib/model/update-alarm-condition-details.js.map +1 -0
- package/lib/model/update-monitoring-template-details.d.ts +72 -0
- package/lib/model/update-monitoring-template-details.js +61 -0
- package/lib/model/update-monitoring-template-details.js.map +1 -0
- package/lib/request/apply-monitoring-template-request.d.ts +46 -0
- package/lib/request/apply-monitoring-template-request.js +15 -0
- package/lib/request/apply-monitoring-template-request.js.map +1 -0
- package/lib/request/create-alarm-condition-request.d.ts +42 -0
- package/lib/request/create-alarm-condition-request.js +15 -0
- package/lib/request/create-alarm-condition-request.js.map +1 -0
- package/lib/request/create-monitoring-template-request.d.ts +38 -0
- package/lib/request/create-monitoring-template-request.js +15 -0
- package/lib/request/create-monitoring-template-request.js.map +1 -0
- package/lib/request/delete-alarm-condition-request.d.ts +41 -0
- package/lib/request/delete-alarm-condition-request.js +15 -0
- package/lib/request/delete-alarm-condition-request.js.map +1 -0
- package/lib/request/delete-monitoring-template-request.d.ts +37 -0
- package/lib/request/delete-monitoring-template-request.js +15 -0
- package/lib/request/delete-monitoring-template-request.js.map +1 -0
- package/lib/request/export-monitoring-template-request.d.ts +46 -0
- package/lib/request/export-monitoring-template-request.js +15 -0
- package/lib/request/export-monitoring-template-request.js.map +1 -0
- package/lib/request/get-alarm-condition-request.d.ts +32 -0
- package/lib/request/get-alarm-condition-request.js +15 -0
- package/lib/request/get-alarm-condition-request.js.map +1 -0
- package/lib/request/get-monitoring-template-request.d.ts +28 -0
- package/lib/request/get-monitoring-template-request.js +15 -0
- package/lib/request/get-monitoring-template-request.js.map +1 -0
- package/lib/request/index.d.ts +32 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-alarm-conditions-request.d.ts +80 -0
- package/lib/request/list-alarm-conditions-request.js +28 -0
- package/lib/request/list-alarm-conditions-request.js.map +1 -0
- package/lib/request/list-defined-monitoring-templates-request.d.ts +69 -0
- package/lib/request/list-defined-monitoring-templates-request.js +23 -0
- package/lib/request/list-defined-monitoring-templates-request.js.map +1 -0
- package/lib/request/list-monitoring-templates-request.d.ts +91 -0
- package/lib/request/list-monitoring-templates-request.js +27 -0
- package/lib/request/list-monitoring-templates-request.js.map +1 -0
- package/lib/request/request-summarized-metric-extensions-metrics-request.d.ts +43 -0
- package/lib/request/request-summarized-metric-extensions-metrics-request.js +15 -0
- package/lib/request/request-summarized-metric-extensions-metrics-request.js.map +1 -0
- package/lib/request/request-summarized-metric-extensions-resources-request.d.ts +43 -0
- package/lib/request/request-summarized-metric-extensions-resources-request.js +15 -0
- package/lib/request/request-summarized-metric-extensions-resources-request.js.map +1 -0
- package/lib/request/unapply-monitoring-template-request.d.ts +46 -0
- package/lib/request/unapply-monitoring-template-request.js +15 -0
- package/lib/request/unapply-monitoring-template-request.js.map +1 -0
- package/lib/request/update-alarm-condition-request.d.ts +46 -0
- package/lib/request/update-alarm-condition-request.js +15 -0
- package/lib/request/update-alarm-condition-request.js.map +1 -0
- package/lib/request/update-monitoring-template-request.d.ts +42 -0
- package/lib/request/update-monitoring-template-request.js +15 -0
- package/lib/request/update-monitoring-template-request.js.map +1 -0
- package/lib/response/apply-monitoring-template-response.d.ts +25 -0
- package/lib/response/apply-monitoring-template-response.js +15 -0
- package/lib/response/apply-monitoring-template-response.js.map +1 -0
- package/lib/response/create-alarm-condition-response.d.ts +30 -0
- package/lib/response/create-alarm-condition-response.js +15 -0
- package/lib/response/create-alarm-condition-response.js.map +1 -0
- package/lib/response/create-monitoring-template-response.d.ts +30 -0
- package/lib/response/create-monitoring-template-response.js +15 -0
- package/lib/response/create-monitoring-template-response.js.map +1 -0
- package/lib/response/delete-alarm-condition-response.d.ts +20 -0
- package/lib/response/delete-alarm-condition-response.js +15 -0
- package/lib/response/delete-alarm-condition-response.js.map +1 -0
- package/lib/response/delete-monitoring-template-response.d.ts +20 -0
- package/lib/response/delete-monitoring-template-response.js +15 -0
- package/lib/response/delete-monitoring-template-response.js.map +1 -0
- package/lib/response/export-monitoring-template-response.d.ts +31 -0
- package/lib/response/export-monitoring-template-response.js +15 -0
- package/lib/response/export-monitoring-template-response.js.map +1 -0
- package/lib/response/get-alarm-condition-response.d.ts +30 -0
- package/lib/response/get-alarm-condition-response.js +15 -0
- package/lib/response/get-alarm-condition-response.js.map +1 -0
- package/lib/response/get-monitoring-template-response.d.ts +30 -0
- package/lib/response/get-monitoring-template-response.js +15 -0
- package/lib/response/get-monitoring-template-response.js.map +1 -0
- package/lib/response/index.d.ts +32 -0
- package/lib/response/list-alarm-conditions-response.d.ts +32 -0
- package/lib/response/list-alarm-conditions-response.js +15 -0
- package/lib/response/list-alarm-conditions-response.js.map +1 -0
- package/lib/response/list-defined-monitoring-templates-response.d.ts +32 -0
- package/lib/response/list-defined-monitoring-templates-response.js +15 -0
- package/lib/response/list-defined-monitoring-templates-response.js.map +1 -0
- package/lib/response/list-monitoring-templates-response.d.ts +32 -0
- package/lib/response/list-monitoring-templates-response.js +15 -0
- package/lib/response/list-monitoring-templates-response.js.map +1 -0
- package/lib/response/request-summarized-metric-extensions-metrics-response.d.ts +37 -0
- package/lib/response/request-summarized-metric-extensions-metrics-response.js +15 -0
- package/lib/response/request-summarized-metric-extensions-metrics-response.js.map +1 -0
- package/lib/response/request-summarized-metric-extensions-resources-response.d.ts +37 -0
- package/lib/response/request-summarized-metric-extensions-resources-response.js +15 -0
- package/lib/response/request-summarized-metric-extensions-resources-response.js.map +1 -0
- package/lib/response/unapply-monitoring-template-response.d.ts +25 -0
- package/lib/response/unapply-monitoring-template-response.js +15 -0
- package/lib/response/unapply-monitoring-template-response.js.map +1 -0
- package/lib/response/update-alarm-condition-response.d.ts +30 -0
- package/lib/response/update-alarm-condition-response.js +15 -0
- package/lib/response/update-alarm-condition-response.js.map +1 -0
- package/lib/response/update-monitoring-template-response.d.ts +30 -0
- package/lib/response/update-monitoring-template-response.js +15 -0
- package/lib/response/update-monitoring-template-response.js.map +1 -0
- package/lib/stackmonitoring-waiter.d.ts +16 -0
- package/lib/stackmonitoring-waiter.js +24 -0
- package/lib/stackmonitoring-waiter.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Results of a Alarm Condition search. Contains list of AlarmConditionCollection items.
|
|
16
|
+
*/
|
|
17
|
+
export interface AlarmConditionCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of Alarm Condition.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.AlarmConditionSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace AlarmConditionCollection {
|
|
24
|
+
function getJsonObj(obj: AlarmConditionCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: AlarmConditionCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AlarmConditionCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AlarmConditionCollection;
|
|
37
|
+
(function (AlarmConditionCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.AlarmConditionSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
AlarmConditionCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.AlarmConditionSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
AlarmConditionCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(AlarmConditionCollection = exports.AlarmConditionCollection || (exports.AlarmConditionCollection = {}));
|
|
61
|
+
//# sourceMappingURL=alarm-condition-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition-collection.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,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,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,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,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The current status of the alarm condition i.e. whether it is Applied, Not Applied or Partial_Applied.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum AlarmConditionLifeCycleDetails {
|
|
17
|
+
NotApplied = "NOT_APPLIED",
|
|
18
|
+
Applied = "APPLIED",
|
|
19
|
+
PartialApplied = "PARTIAL_APPLIED",
|
|
20
|
+
Error = "ERROR",
|
|
21
|
+
/**
|
|
22
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
23
|
+
* version of the SDK.
|
|
24
|
+
*/
|
|
25
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
26
|
+
}
|
|
27
|
+
export declare namespace AlarmConditionLifeCycleDetails {
|
|
28
|
+
function getJsonObj(obj: AlarmConditionLifeCycleDetails): AlarmConditionLifeCycleDetails;
|
|
29
|
+
function getDeserializedJsonObj(obj: AlarmConditionLifeCycleDetails): AlarmConditionLifeCycleDetails;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AlarmConditionLifeCycleDetails = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The current status of the alarm condition i.e. whether it is Applied, Not Applied or Partial_Applied.
|
|
18
|
+
**/
|
|
19
|
+
var AlarmConditionLifeCycleDetails;
|
|
20
|
+
(function (AlarmConditionLifeCycleDetails) {
|
|
21
|
+
AlarmConditionLifeCycleDetails["NotApplied"] = "NOT_APPLIED";
|
|
22
|
+
AlarmConditionLifeCycleDetails["Applied"] = "APPLIED";
|
|
23
|
+
AlarmConditionLifeCycleDetails["PartialApplied"] = "PARTIAL_APPLIED";
|
|
24
|
+
AlarmConditionLifeCycleDetails["Error"] = "ERROR";
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
AlarmConditionLifeCycleDetails["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(AlarmConditionLifeCycleDetails = exports.AlarmConditionLifeCycleDetails || (exports.AlarmConditionLifeCycleDetails = {}));
|
|
31
|
+
(function (AlarmConditionLifeCycleDetails) {
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
AlarmConditionLifeCycleDetails.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
AlarmConditionLifeCycleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
40
|
+
})(AlarmConditionLifeCycleDetails = exports.AlarmConditionLifeCycleDetails || (exports.AlarmConditionLifeCycleDetails = {}));
|
|
41
|
+
//# sourceMappingURL=alarm-condition-life-cycle-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition-life-cycle-details.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition-life-cycle-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,8BAWX;AAXD,WAAY,8BAA8B;IACxC,4DAA0B,CAAA;IAC1B,qDAAmB,CAAA;IACnB,oEAAkC,CAAA;IAClC,iDAAe,CAAA;IAEf;;;OAGG;IACH,gEAA8B,CAAA;AAChC,CAAC,EAXW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAWzC;AAED,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,yCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAmC;QAEnC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,qDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAS9C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The current lifecycle state of the alarm condition.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum AlarmConditionLifeCycleStates {
|
|
17
|
+
Creating = "CREATING",
|
|
18
|
+
Active = "ACTIVE",
|
|
19
|
+
Inactive = "INACTIVE",
|
|
20
|
+
Updating = "UPDATING",
|
|
21
|
+
Deleted = "DELETED",
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
27
|
+
}
|
|
28
|
+
export declare namespace AlarmConditionLifeCycleStates {
|
|
29
|
+
function getJsonObj(obj: AlarmConditionLifeCycleStates): AlarmConditionLifeCycleStates;
|
|
30
|
+
function getDeserializedJsonObj(obj: AlarmConditionLifeCycleStates): AlarmConditionLifeCycleStates;
|
|
31
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AlarmConditionLifeCycleStates = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The current lifecycle state of the alarm condition.
|
|
18
|
+
**/
|
|
19
|
+
var AlarmConditionLifeCycleStates;
|
|
20
|
+
(function (AlarmConditionLifeCycleStates) {
|
|
21
|
+
AlarmConditionLifeCycleStates["Creating"] = "CREATING";
|
|
22
|
+
AlarmConditionLifeCycleStates["Active"] = "ACTIVE";
|
|
23
|
+
AlarmConditionLifeCycleStates["Inactive"] = "INACTIVE";
|
|
24
|
+
AlarmConditionLifeCycleStates["Updating"] = "UPDATING";
|
|
25
|
+
AlarmConditionLifeCycleStates["Deleted"] = "DELETED";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
AlarmConditionLifeCycleStates["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(AlarmConditionLifeCycleStates = exports.AlarmConditionLifeCycleStates || (exports.AlarmConditionLifeCycleStates = {}));
|
|
32
|
+
(function (AlarmConditionLifeCycleStates) {
|
|
33
|
+
function getJsonObj(obj) {
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
AlarmConditionLifeCycleStates.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
return obj;
|
|
39
|
+
}
|
|
40
|
+
AlarmConditionLifeCycleStates.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
41
|
+
})(AlarmConditionLifeCycleStates = exports.AlarmConditionLifeCycleStates || (exports.AlarmConditionLifeCycleStates = {}));
|
|
42
|
+
//# sourceMappingURL=alarm-condition-life-cycle-states.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition-life-cycle-states.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition-life-cycle-states.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,6BAYX;AAZD,WAAY,6BAA6B;IACvC,sDAAqB,CAAA;IACrB,kDAAiB,CAAA;IACjB,sDAAqB,CAAA;IACrB,sDAAqB,CAAA;IACrB,oDAAmB,CAAA;IAEnB;;;OAGG;IACH,+DAA8B,CAAA;AAChC,CAAC,EAZW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAYxC;AAED,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAkC;QAElC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,oDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAS7C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Alarm condition severity.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum AlarmConditionSeverity {
|
|
17
|
+
Critical = "CRITICAL",
|
|
18
|
+
Warning = "WARNING",
|
|
19
|
+
/**
|
|
20
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
21
|
+
* version of the SDK.
|
|
22
|
+
*/
|
|
23
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
24
|
+
}
|
|
25
|
+
export declare namespace AlarmConditionSeverity {
|
|
26
|
+
function getJsonObj(obj: AlarmConditionSeverity): AlarmConditionSeverity;
|
|
27
|
+
function getDeserializedJsonObj(obj: AlarmConditionSeverity): AlarmConditionSeverity;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AlarmConditionSeverity = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Alarm condition severity.
|
|
18
|
+
**/
|
|
19
|
+
var AlarmConditionSeverity;
|
|
20
|
+
(function (AlarmConditionSeverity) {
|
|
21
|
+
AlarmConditionSeverity["Critical"] = "CRITICAL";
|
|
22
|
+
AlarmConditionSeverity["Warning"] = "WARNING";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
AlarmConditionSeverity["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(AlarmConditionSeverity = exports.AlarmConditionSeverity || (exports.AlarmConditionSeverity = {}));
|
|
29
|
+
(function (AlarmConditionSeverity) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
AlarmConditionSeverity.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
AlarmConditionSeverity.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(AlarmConditionSeverity = exports.AlarmConditionSeverity || (exports.AlarmConditionSeverity = {}));
|
|
39
|
+
//# sourceMappingURL=alarm-condition-severity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition-severity.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition-severity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IAEnB;;;OAGG;IACH,wDAA8B,CAAA;AAChC,CAAC,EATW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QASjC;AAED,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,iCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,6CAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAOtC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Alarm condition summary information about alarm condition
|
|
16
|
+
*/
|
|
17
|
+
export interface AlarmConditionSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Alarm Condition
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
|
24
|
+
*/
|
|
25
|
+
"monitoringTemplateId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
|
28
|
+
*/
|
|
29
|
+
"compositeType"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
|
32
|
+
*/
|
|
33
|
+
"namespace": string;
|
|
34
|
+
/**
|
|
35
|
+
* The resource group OCID.
|
|
36
|
+
*/
|
|
37
|
+
"resourceType": string;
|
|
38
|
+
/**
|
|
39
|
+
* The metric name.
|
|
40
|
+
*/
|
|
41
|
+
"metricName": string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of alarm condition type.
|
|
44
|
+
*/
|
|
45
|
+
"conditionType"?: model.ConditionType;
|
|
46
|
+
/**
|
|
47
|
+
* Alarm conditions
|
|
48
|
+
*/
|
|
49
|
+
"conditions": Array<model.Condition>;
|
|
50
|
+
/**
|
|
51
|
+
* The current status of the alarm condition i.e. whether it is Applied or Not Applied
|
|
52
|
+
*/
|
|
53
|
+
"status": model.AlarmConditionLifeCycleDetails;
|
|
54
|
+
/**
|
|
55
|
+
* The current lifecycle state of the alarm condition.
|
|
56
|
+
*/
|
|
57
|
+
"lifecycleState": model.AlarmConditionLifeCycleStates;
|
|
58
|
+
/**
|
|
59
|
+
* The date and time the monitoringTemplate was created. Format defined by RFC3339.
|
|
60
|
+
*/
|
|
61
|
+
"timeCreated"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* The date and time the monitoringTemplate was updated. Format defined by RFC3339.
|
|
64
|
+
*/
|
|
65
|
+
"timeUpdated"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
68
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"freeformTags"?: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
76
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"definedTags"?: {
|
|
80
|
+
[key: string]: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
86
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
"systemTags"?: {
|
|
90
|
+
[key: string]: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export declare namespace AlarmConditionSummary {
|
|
96
|
+
function getJsonObj(obj: AlarmConditionSummary): object;
|
|
97
|
+
function getDeserializedJsonObj(obj: AlarmConditionSummary): object;
|
|
98
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AlarmConditionSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AlarmConditionSummary;
|
|
37
|
+
(function (AlarmConditionSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"conditions": obj.conditions
|
|
41
|
+
? obj.conditions.map(item => {
|
|
42
|
+
return model.Condition.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
AlarmConditionSummary.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"conditions": obj.conditions
|
|
52
|
+
? obj.conditions.map(item => {
|
|
53
|
+
return model.Condition.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
AlarmConditionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(AlarmConditionSummary = exports.AlarmConditionSummary || (exports.AlarmConditionSummary = {}));
|
|
61
|
+
//# sourceMappingURL=alarm-condition-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition-summary.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ElC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,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,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,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,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The information about template condition in the same monitoringTemplate in a compartment.
|
|
16
|
+
*/
|
|
17
|
+
export interface AlarmCondition {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Alarm Condition.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the monitoring template.
|
|
24
|
+
*/
|
|
25
|
+
"monitoringTemplateId": string;
|
|
26
|
+
/**
|
|
27
|
+
* The stack monitoring service or application emitting the metric that is evaluated by the alarm.
|
|
28
|
+
*/
|
|
29
|
+
"namespace": string;
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the composite resource type like EBS/PEOPLE_SOFT.
|
|
32
|
+
*/
|
|
33
|
+
"compositeType"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The resource type OCID.
|
|
36
|
+
*/
|
|
37
|
+
"resourceType": string;
|
|
38
|
+
/**
|
|
39
|
+
* The metric name.
|
|
40
|
+
*/
|
|
41
|
+
"metricName": string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of defined monitoring template.
|
|
44
|
+
*/
|
|
45
|
+
"conditionType": model.ConditionType;
|
|
46
|
+
/**
|
|
47
|
+
* Monitoring template conditions
|
|
48
|
+
*/
|
|
49
|
+
"conditions": Array<model.Condition>;
|
|
50
|
+
/**
|
|
51
|
+
* The current status of the monitoring template i.e. whether it is Published or Unpublished
|
|
52
|
+
*/
|
|
53
|
+
"status": model.AlarmConditionLifeCycleDetails;
|
|
54
|
+
/**
|
|
55
|
+
* The current lifecycle state of the monitoring template
|
|
56
|
+
*/
|
|
57
|
+
"lifecycleState": model.AlarmConditionLifeCycleStates;
|
|
58
|
+
/**
|
|
59
|
+
* The date and time the alarm condition was created. Format defined by RFC3339.
|
|
60
|
+
*/
|
|
61
|
+
"timeCreated"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* The date and time the alarm condition was updated. Format defined by RFC3339.
|
|
64
|
+
*/
|
|
65
|
+
"timeUpdated"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
68
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"freeformTags"?: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
76
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
"definedTags"?: {
|
|
80
|
+
[key: string]: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
86
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
"systemTags"?: {
|
|
90
|
+
[key: string]: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export declare namespace AlarmCondition {
|
|
96
|
+
function getJsonObj(obj: AlarmCondition): object;
|
|
97
|
+
function getDeserializedJsonObj(obj: AlarmCondition): object;
|
|
98
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AlarmCondition = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AlarmCondition;
|
|
37
|
+
(function (AlarmCondition) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"conditions": obj.conditions
|
|
41
|
+
? obj.conditions.map(item => {
|
|
42
|
+
return model.Condition.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
AlarmCondition.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"conditions": obj.conditions
|
|
52
|
+
? obj.conditions.map(item => {
|
|
53
|
+
return model.Condition.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
AlarmCondition.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(AlarmCondition = exports.AlarmCondition || (exports.AlarmCondition = {}));
|
|
61
|
+
//# sourceMappingURL=alarm-condition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-condition.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/alarm-condition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ElC,IAAiB,cAAc,CA6B9B;AA7BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,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,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,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,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA6B9B"}
|