oci-monitoring 2.40.0 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +35 -13
- package/lib/client.js +95 -14
- package/lib/client.js.map +1 -1
- package/lib/model/alarm-dimension-states-collection.d.ts +49 -0
- package/lib/model/alarm-dimension-states-collection.js +64 -0
- package/lib/model/alarm-dimension-states-collection.js.map +1 -0
- package/lib/model/alarm-dimension-states-entry.d.ts +55 -0
- package/lib/model/alarm-dimension-states-entry.js +42 -0
- package/lib/model/alarm-dimension-states-entry.js.map +1 -0
- package/lib/model/alarm-status-summary.d.ts +3 -0
- package/lib/model/alarm-status-summary.js.map +1 -1
- package/lib/model/alarm.d.ts +6 -0
- package/lib/model/alarm.js.map +1 -1
- package/lib/model/create-alarm-details.d.ts +6 -0
- package/lib/model/create-alarm-details.js.map +1 -1
- package/lib/model/index.d.ts +6 -0
- package/lib/model/index.js +7 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/metric-data-details.d.ts +2 -2
- package/lib/model/metric-data.d.ts +1 -1
- package/lib/model/retrieve-dimension-states-details.d.ts +41 -0
- package/lib/model/retrieve-dimension-states-details.js +32 -0
- package/lib/model/retrieve-dimension-states-details.js.map +1 -0
- package/lib/model/update-alarm-details.d.ts +6 -0
- package/lib/model/update-alarm-details.js.map +1 -1
- package/lib/request/change-alarm-compartment-request.d.ts +1 -1
- package/lib/request/create-alarm-request.d.ts +1 -1
- package/lib/request/delete-alarm-request.d.ts +1 -1
- package/lib/request/get-alarm-history-request.d.ts +1 -1
- package/lib/request/get-alarm-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/list-alarms-request.d.ts +1 -1
- package/lib/request/list-alarms-status-request.d.ts +1 -1
- package/lib/request/list-metrics-request.d.ts +1 -1
- package/lib/request/post-metric-data-request.d.ts +6 -1
- package/lib/request/remove-alarm-suppression-request.d.ts +1 -1
- package/lib/request/retrieve-dimension-states-request.d.ts +51 -0
- package/lib/request/retrieve-dimension-states-request.js +15 -0
- package/lib/request/retrieve-dimension-states-request.js.map +1 -0
- package/lib/request/summarize-metrics-data-request.d.ts +1 -1
- package/lib/request/update-alarm-request.d.ts +1 -1
- package/lib/response/index.d.ts +2 -0
- package/lib/response/retrieve-dimension-states-response.d.ts +31 -0
- package/lib/response/retrieve-dimension-states-response.js +15 -0
- package/lib/response/retrieve-dimension-states-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,55 @@
|
|
|
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 PostMetric, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For information about monitoring, see [Monitoring Overview](/iaas/Content/Monitoring/Concepts/monitoringoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20180401
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* A timestamped alarm state entry for a metric stream.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface AlarmDimensionStatesEntry {
|
|
21
|
+
/**
|
|
22
|
+
* Indicator of the metric stream associated with the alarm state entry. Includes one or more dimension key-value pairs.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"dimensions": {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Transition state (status value) associated with the alarm state entry.
|
|
30
|
+
* <p>
|
|
31
|
+
Example: `FIRING`
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"status": AlarmDimensionStatesEntry.Status;
|
|
35
|
+
/**
|
|
36
|
+
* Transition time associated with the alarm state entry. Format defined by RFC3339.
|
|
37
|
+
* <p>
|
|
38
|
+
Example: `2022-02-01T01:02:29.600Z`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"timestamp": Date;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace AlarmDimensionStatesEntry {
|
|
44
|
+
enum Status {
|
|
45
|
+
Firing = "FIRING",
|
|
46
|
+
Ok = "OK",
|
|
47
|
+
/**
|
|
48
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
49
|
+
* version of the SDK.
|
|
50
|
+
*/
|
|
51
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
52
|
+
}
|
|
53
|
+
function getJsonObj(obj: AlarmDimensionStatesEntry): object;
|
|
54
|
+
function getDeserializedJsonObj(obj: AlarmDimensionStatesEntry): object;
|
|
55
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 PostMetric, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For information about monitoring, see [Monitoring Overview](/iaas/Content/Monitoring/Concepts/monitoringoverview.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, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AlarmDimensionStatesEntry = void 0;
|
|
19
|
+
var AlarmDimensionStatesEntry;
|
|
20
|
+
(function (AlarmDimensionStatesEntry) {
|
|
21
|
+
let Status;
|
|
22
|
+
(function (Status) {
|
|
23
|
+
Status["Firing"] = "FIRING";
|
|
24
|
+
Status["Ok"] = "OK";
|
|
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
|
+
Status["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(Status = AlarmDimensionStatesEntry.Status || (AlarmDimensionStatesEntry.Status = {}));
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
33
|
+
return jsonObj;
|
|
34
|
+
}
|
|
35
|
+
AlarmDimensionStatesEntry.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
38
|
+
return jsonObj;
|
|
39
|
+
}
|
|
40
|
+
AlarmDimensionStatesEntry.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
41
|
+
})(AlarmDimensionStatesEntry = exports.AlarmDimensionStatesEntry || (exports.AlarmDimensionStatesEntry = {}));
|
|
42
|
+
//# sourceMappingURL=alarm-dimension-states-entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-dimension-states-entry.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-dimension-states-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA+BH,IAAiB,yBAAyB,CAqBzC;AArBD,WAAiB,yBAAyB;IACxC,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,2BAAiB,CAAA;QACjB,mBAAS,CAAA;QACT;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,gCAAM,KAAN,gCAAM,QAQjB;IAED,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAqBzC"}
|
|
@@ -57,6 +57,9 @@ export interface AlarmStatusSummary {
|
|
|
57
57
|
"timestampTriggered": Date;
|
|
58
58
|
/**
|
|
59
59
|
* The status of this alarm.
|
|
60
|
+
* Status is collective, across all metric streams in the alarm.
|
|
61
|
+
* To list alarm status for each metric stream, use {@link #retrieveDimensionStates(RetrieveDimensionStatesRequest) retrieveDimensionStates}.
|
|
62
|
+
* The alarm attribute `isNotificationsPerMetricDimensionEnabled` must be set to `true`.
|
|
60
63
|
* <p>
|
|
61
64
|
Example: `FIRING`
|
|
62
65
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-status-summary.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-status-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"alarm-status-summary.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm-status-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,kBAAkB,CA8ClC;AA9CD,WAAiB,kBAAkB;IACjC,IAAY,QAUX;IAVD,WAAY,QAAQ;QAClB,iCAAqB,CAAA;QACrB,2BAAe,CAAA;QACf,+BAAmB,CAAA;QACnB,yBAAa,CAAA;QACb;;;WAGG;QACH,0CAA8B,CAAA;IAChC,CAAC,EAVW,QAAQ,GAAR,2BAAQ,KAAR,2BAAQ,QAUnB;IAED,IAAY,MASX;IATD,WAAY,MAAM;QAChB,2BAAiB,CAAA;QACjB,mBAAS,CAAA;QACT,iCAAuB,CAAA;QACvB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EATW,MAAM,GAAN,yBAAM,KAAN,yBAAM,QASjB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EA9CgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA8ClC"}
|
package/lib/model/alarm.d.ts
CHANGED
|
@@ -149,6 +149,12 @@ export interface Alarm {
|
|
|
149
149
|
*
|
|
150
150
|
*/
|
|
151
151
|
"body"?: string;
|
|
152
|
+
/**
|
|
153
|
+
* When set to `true`, splits notifications per metric stream. When set to `false`, groups notifications across metric streams.
|
|
154
|
+
* Example: `true`
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
"isNotificationsPerMetricDimensionEnabled"?: boolean;
|
|
152
158
|
/**
|
|
153
159
|
* The format to use for notification messages sent from this alarm. The formats are:
|
|
154
160
|
* * `RAW` - Raw JSON blob. Default value.
|
package/lib/model/alarm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/alarm.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0NlC,IAAiB,KAAK,CAyDrB;AAzDD,WAAiB,KAAK;IACpB,IAAY,QAUX;IAVD,WAAY,QAAQ;QAClB,iCAAqB,CAAA;QACrB,2BAAe,CAAA;QACf,+BAAmB,CAAA;QACnB,yBAAa,CAAA;QACb;;;WAGG;QACH,0CAA8B,CAAA;IAChC,CAAC,EAVW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAUnB;IAED,IAAY,aASX;IATD,WAAY,aAAa;QACvB,4BAAW,CAAA;QACX,2CAA0B,CAAA;QAC1B,+CAA8B,CAAA;QAC9B;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EATW,aAAa,GAAb,mBAAa,KAAb,mBAAa,QASxB;IAED,IAAY,cASX;IATD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EATW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QASzB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,gBAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,4BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzDgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAyDrB"}
|
|
@@ -137,6 +137,12 @@ export interface CreateAlarmDetails {
|
|
|
137
137
|
*
|
|
138
138
|
*/
|
|
139
139
|
"body"?: string;
|
|
140
|
+
/**
|
|
141
|
+
* When set to `true`, splits notifications per metric stream. When set to `false`, groups notifications across metric streams.
|
|
142
|
+
* Example: `true`
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
"isNotificationsPerMetricDimensionEnabled"?: boolean;
|
|
140
146
|
/**
|
|
141
147
|
* The format to use for notification messages sent from this alarm. The formats are:
|
|
142
148
|
* * `RAW` - Raw JSON blob. Default value.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-alarm-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/create-alarm-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-alarm-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/create-alarm-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyLlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,IAAY,aAIX;IAJD,WAAY,aAAa;QACvB,4BAAW,CAAA;QACX,2CAA0B,CAAA;QAC1B,+CAA8B,CAAA;IAChC,CAAC,EAJW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAIxB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ import * as AggregatedDatapoint from "./aggregated-datapoint";
|
|
|
17
17
|
export import AggregatedDatapoint = AggregatedDatapoint.AggregatedDatapoint;
|
|
18
18
|
import * as Alarm from "./alarm";
|
|
19
19
|
export import Alarm = Alarm.Alarm;
|
|
20
|
+
import * as AlarmDimensionStatesCollection from "./alarm-dimension-states-collection";
|
|
21
|
+
export import AlarmDimensionStatesCollection = AlarmDimensionStatesCollection.AlarmDimensionStatesCollection;
|
|
22
|
+
import * as AlarmDimensionStatesEntry from "./alarm-dimension-states-entry";
|
|
23
|
+
export import AlarmDimensionStatesEntry = AlarmDimensionStatesEntry.AlarmDimensionStatesEntry;
|
|
20
24
|
import * as AlarmHistoryCollection from "./alarm-history-collection";
|
|
21
25
|
export import AlarmHistoryCollection = AlarmHistoryCollection.AlarmHistoryCollection;
|
|
22
26
|
import * as AlarmHistoryEntry from "./alarm-history-entry";
|
|
@@ -45,6 +49,8 @@ import * as PostMetricDataDetails from "./post-metric-data-details";
|
|
|
45
49
|
export import PostMetricDataDetails = PostMetricDataDetails.PostMetricDataDetails;
|
|
46
50
|
import * as PostMetricDataResponseDetails from "./post-metric-data-response-details";
|
|
47
51
|
export import PostMetricDataResponseDetails = PostMetricDataResponseDetails.PostMetricDataResponseDetails;
|
|
52
|
+
import * as RetrieveDimensionStatesDetails from "./retrieve-dimension-states-details";
|
|
53
|
+
export import RetrieveDimensionStatesDetails = RetrieveDimensionStatesDetails.RetrieveDimensionStatesDetails;
|
|
48
54
|
import * as SummarizeMetricsDataDetails from "./summarize-metrics-data-details";
|
|
49
55
|
export import SummarizeMetricsDataDetails = SummarizeMetricsDataDetails.SummarizeMetricsDataDetails;
|
|
50
56
|
import * as Suppression from "./suppression";
|
package/lib/model/index.js
CHANGED
|
@@ -34,11 +34,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
34
34
|
return result;
|
|
35
35
|
};
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.UpdateAlarmDetails = exports.Suppression = exports.SummarizeMetricsDataDetails = exports.PostMetricDataResponseDetails = exports.PostMetricDataDetails = exports.MetricDataDetails = exports.MetricData = exports.Metric = exports.ListMetricsDetails = exports.FailedMetricRecord = exports.Datapoint = exports.CreateAlarmDetails = exports.ChangeAlarmCompartmentDetails = exports.AlarmSummary = exports.AlarmStatusSummary = exports.AlarmHistoryEntry = exports.AlarmHistoryCollection = exports.Alarm = exports.AggregatedDatapoint = void 0;
|
|
37
|
+
exports.UpdateAlarmDetails = exports.Suppression = exports.SummarizeMetricsDataDetails = exports.RetrieveDimensionStatesDetails = exports.PostMetricDataResponseDetails = exports.PostMetricDataDetails = exports.MetricDataDetails = exports.MetricData = exports.Metric = exports.ListMetricsDetails = exports.FailedMetricRecord = exports.Datapoint = exports.CreateAlarmDetails = exports.ChangeAlarmCompartmentDetails = exports.AlarmSummary = exports.AlarmStatusSummary = exports.AlarmHistoryEntry = exports.AlarmHistoryCollection = exports.AlarmDimensionStatesEntry = exports.AlarmDimensionStatesCollection = exports.Alarm = exports.AggregatedDatapoint = void 0;
|
|
38
38
|
const AggregatedDatapoint = __importStar(require("./aggregated-datapoint"));
|
|
39
39
|
exports.AggregatedDatapoint = AggregatedDatapoint.AggregatedDatapoint;
|
|
40
40
|
const Alarm = __importStar(require("./alarm"));
|
|
41
41
|
exports.Alarm = Alarm.Alarm;
|
|
42
|
+
const AlarmDimensionStatesCollection = __importStar(require("./alarm-dimension-states-collection"));
|
|
43
|
+
exports.AlarmDimensionStatesCollection = AlarmDimensionStatesCollection.AlarmDimensionStatesCollection;
|
|
44
|
+
const AlarmDimensionStatesEntry = __importStar(require("./alarm-dimension-states-entry"));
|
|
45
|
+
exports.AlarmDimensionStatesEntry = AlarmDimensionStatesEntry.AlarmDimensionStatesEntry;
|
|
42
46
|
const AlarmHistoryCollection = __importStar(require("./alarm-history-collection"));
|
|
43
47
|
exports.AlarmHistoryCollection = AlarmHistoryCollection.AlarmHistoryCollection;
|
|
44
48
|
const AlarmHistoryEntry = __importStar(require("./alarm-history-entry"));
|
|
@@ -67,6 +71,8 @@ const PostMetricDataDetails = __importStar(require("./post-metric-data-details")
|
|
|
67
71
|
exports.PostMetricDataDetails = PostMetricDataDetails.PostMetricDataDetails;
|
|
68
72
|
const PostMetricDataResponseDetails = __importStar(require("./post-metric-data-response-details"));
|
|
69
73
|
exports.PostMetricDataResponseDetails = PostMetricDataResponseDetails.PostMetricDataResponseDetails;
|
|
74
|
+
const RetrieveDimensionStatesDetails = __importStar(require("./retrieve-dimension-states-details"));
|
|
75
|
+
exports.RetrieveDimensionStatesDetails = RetrieveDimensionStatesDetails.RetrieveDimensionStatesDetails;
|
|
70
76
|
const SummarizeMetricsDataDetails = __importStar(require("./summarize-metrics-data-details"));
|
|
71
77
|
exports.SummarizeMetricsDataDetails = SummarizeMetricsDataDetails.SummarizeMetricsDataDetails;
|
|
72
78
|
const Suppression = __importStar(require("./suppression"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,4EAA8D;AAChD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,+CAAiC;AACnB,QAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAClC,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kFAAoE;AACtD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,2DAA6C;AAC/B,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,4EAA8D;AAChD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,+CAAiC;AACnB,QAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAClC,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kFAAoE;AACtD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,oGAAsF;AACxE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,2DAA6C;AAC/B,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC"}
|
|
@@ -56,8 +56,8 @@ export interface MetricDataDetails {
|
|
|
56
56
|
/**
|
|
57
57
|
* Qualifiers provided in a metric definition. Available dimensions vary by metric namespace.
|
|
58
58
|
* Each dimension takes the form of a key-value pair.
|
|
59
|
-
* A valid dimension key includes only printable ASCII, excluding
|
|
60
|
-
* A valid dimension value includes only Unicode characters. The character limit for a dimension value is
|
|
59
|
+
* A valid dimension key includes only printable ASCII, excluding spaces. The character limit for a dimension key is 256.
|
|
60
|
+
* A valid dimension value includes only Unicode characters. The character limit for a dimension value is 512.
|
|
61
61
|
* Empty strings are not allowed for keys or values. Avoid entering confidential information.
|
|
62
62
|
* <p>
|
|
63
63
|
Example: `\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"`
|
|
@@ -27,7 +27,7 @@ Limits information for returned data follows.
|
|
|
27
27
|
* * Time range returned for 5-minute resolution: 30 days.
|
|
28
28
|
* * Time range returned for 1-minute resolution: 7 days.
|
|
29
29
|
* <p>
|
|
30
|
-
*A metric stream is an individual set of aggregated data for a metric
|
|
30
|
+
*A metric stream is an individual set of aggregated data for a metric with zero or more dimension values.
|
|
31
31
|
* Metric streams cannot be aggregated across metric groups.
|
|
32
32
|
* A metric group is the combination of a given metric, metric namespace, and tenancy for the purpose of determining limits.
|
|
33
33
|
* For more information about metric-related concepts, see [Monitoring Concepts](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts).
|
|
@@ -0,0 +1,41 @@
|
|
|
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 PostMetric, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For information about monitoring, see [Monitoring Overview](/iaas/Content/Monitoring/Concepts/monitoringoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20180401
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* The configuration details for retrieving the alarm state entries.
|
|
18
|
+
* Filter retrieved alarm state entries by status value and dimension key-value pairs.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface RetrieveDimensionStatesDetails {
|
|
22
|
+
/**
|
|
23
|
+
* A filter to return only alarm state entries that match the exact set of specified dimension key-value pairs.
|
|
24
|
+
* If you specify `\"availabilityDomain\": \"phx-ad-1\"` but the alarm state entry corresponds to the set `\"availabilityDomain\": \"phx-ad-1\"`
|
|
25
|
+
* and `\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"`, then no results are returned.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"dimensionFilters"?: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* A filter to return only alarm state entries that match the status value.
|
|
33
|
+
* Example: `FIRING`
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"status"?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace RetrieveDimensionStatesDetails {
|
|
39
|
+
function getJsonObj(obj: RetrieveDimensionStatesDetails): object;
|
|
40
|
+
function getDeserializedJsonObj(obj: RetrieveDimensionStatesDetails): object;
|
|
41
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PostMetric, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For information about monitoring, see [Monitoring Overview](/iaas/Content/Monitoring/Concepts/monitoringoverview.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, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.RetrieveDimensionStatesDetails = void 0;
|
|
19
|
+
var RetrieveDimensionStatesDetails;
|
|
20
|
+
(function (RetrieveDimensionStatesDetails) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
RetrieveDimensionStatesDetails.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
RetrieveDimensionStatesDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(RetrieveDimensionStatesDetails = exports.RetrieveDimensionStatesDetails || (exports.RetrieveDimensionStatesDetails = {}));
|
|
32
|
+
//# sourceMappingURL=retrieve-dimension-states-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-dimension-states-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/retrieve-dimension-states-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA0BH,IAAiB,8BAA8B,CAW9C;AAXD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAW9C"}
|
|
@@ -137,6 +137,12 @@ export interface UpdateAlarmDetails {
|
|
|
137
137
|
*
|
|
138
138
|
*/
|
|
139
139
|
"body"?: string;
|
|
140
|
+
/**
|
|
141
|
+
* When set to `true`, splits notifications per metric stream. When set to `false`, groups notifications across metric streams.
|
|
142
|
+
* Example: `true`
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
"isNotificationsPerMetricDimensionEnabled"?: boolean;
|
|
140
146
|
/**
|
|
141
147
|
* The format to use for notification messages sent from this alarm. The formats are:
|
|
142
148
|
* * `RAW` - Raw JSON blob. Default value.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-alarm-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/update-alarm-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"update-alarm-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/update-alarm-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyLlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,IAAY,aAIX;IAJD,WAAY,aAAa;QACvB,4BAAW,CAAA;QACX,2CAA0B,CAAA;QAC1B,+CAA8B,CAAA;IAChC,CAAC,EAJW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAIxB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartmentRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChangeAlarmCompartmentRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarmRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateAlarmRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarmRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface DeleteAlarmRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistoryRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetAlarmHistoryRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarmRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetAlarmRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
package/lib/request/index.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ import * as PostMetricDataRequest from "./post-metric-data-request";
|
|
|
33
33
|
export import PostMetricDataRequest = PostMetricDataRequest.PostMetricDataRequest;
|
|
34
34
|
import * as RemoveAlarmSuppressionRequest from "./remove-alarm-suppression-request";
|
|
35
35
|
export import RemoveAlarmSuppressionRequest = RemoveAlarmSuppressionRequest.RemoveAlarmSuppressionRequest;
|
|
36
|
+
import * as RetrieveDimensionStatesRequest from "./retrieve-dimension-states-request";
|
|
37
|
+
export import RetrieveDimensionStatesRequest = RetrieveDimensionStatesRequest.RetrieveDimensionStatesRequest;
|
|
36
38
|
import * as SummarizeMetricsDataRequest from "./summarize-metrics-data-request";
|
|
37
39
|
export import SummarizeMetricsDataRequest = SummarizeMetricsDataRequest.SummarizeMetricsDataRequest;
|
|
38
40
|
import * as UpdateAlarmRequest from "./update-alarm-request";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarmsRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListAlarmsRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatusRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListAlarmsStatusRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/ListMetrics.ts.html |here} to see how to use ListMetricsRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ListMetricsRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricDataRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface PostMetricDataRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -27,4 +27,9 @@ export interface PostMetricDataRequest extends common.BaseRequest {
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
"opcRequestId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The optional Content-Encoding header that defines the content encodings that were applied to the payload.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"contentEncoding"?: string;
|
|
30
35
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppressionRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface RemoveAlarmSuppressionRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180401
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/RetrieveDimensionStates.ts.html |here} to see how to use RetrieveDimensionStatesRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface RetrieveDimensionStatesRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"alarmId": string;
|
|
24
|
+
/**
|
|
25
|
+
* Customer part of the request identifier token. If you need to contact Oracle about a particular
|
|
26
|
+
* request, please provide the complete request ID.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"opcRequestId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
32
|
+
* For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"page"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
|
|
38
|
+
* For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
39
|
+
* <p>
|
|
40
|
+
Default: 1000
|
|
41
|
+
* <p>
|
|
42
|
+
Example: 500
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"limit"?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The configuration details for retrieving the current alarm status of each metric stream.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"retrieveDimensionStatesDetails"?: model.RetrieveDimensionStatesDetails;
|
|
51
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20180401
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=retrieve-dimension-states-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-dimension-states-request.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/request/retrieve-dimension-states-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsDataRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SummarizeMetricsDataRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.42.0/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarmRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateAlarmRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/lib/response/index.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ import * as PostMetricDataResponse from "./post-metric-data-response";
|
|
|
33
33
|
export import PostMetricDataResponse = PostMetricDataResponse.PostMetricDataResponse;
|
|
34
34
|
import * as RemoveAlarmSuppressionResponse from "./remove-alarm-suppression-response";
|
|
35
35
|
export import RemoveAlarmSuppressionResponse = RemoveAlarmSuppressionResponse.RemoveAlarmSuppressionResponse;
|
|
36
|
+
import * as RetrieveDimensionStatesResponse from "./retrieve-dimension-states-response";
|
|
37
|
+
export import RetrieveDimensionStatesResponse = RetrieveDimensionStatesResponse.RetrieveDimensionStatesResponse;
|
|
36
38
|
import * as SummarizeMetricsDataResponse from "./summarize-metrics-data-response";
|
|
37
39
|
export import SummarizeMetricsDataResponse = SummarizeMetricsDataResponse.SummarizeMetricsDataResponse;
|
|
38
40
|
import * as UpdateAlarmResponse from "./update-alarm-response";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180401
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, 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
|
+
export interface RetrieveDimensionStatesResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
|
|
17
|
+
* a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For list pagination. When this header appears in the response, additional pages of results remain.
|
|
23
|
+
* For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcNextPage": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.AlarmDimensionStatesCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"alarmDimensionStatesCollection": model.AlarmDimensionStatesCollection;
|
|
31
|
+
}
|