oci-monitoring 2.76.1 → 2.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +101 -14
- package/lib/client.js +383 -14
- package/lib/client.js.map +1 -1
- package/lib/model/aggregated-datapoint.d.ts +3 -3
- package/lib/model/aggregated-datapoint.js +1 -1
- package/lib/model/alarm-dimension-states-collection.d.ts +4 -4
- package/lib/model/alarm-dimension-states-collection.js +1 -1
- package/lib/model/alarm-dimension-states-entry.d.ts +3 -3
- package/lib/model/alarm-dimension-states-entry.js +1 -1
- package/lib/model/alarm-history-collection.d.ts +2 -2
- package/lib/model/alarm-history-collection.js +1 -1
- package/lib/model/alarm-history-entry.d.ts +5 -5
- package/lib/model/alarm-history-entry.js +1 -1
- package/lib/model/alarm-status-summary.d.ts +6 -6
- package/lib/model/alarm-status-summary.js +1 -1
- package/lib/model/alarm-summary.d.ts +18 -12
- package/lib/model/alarm-summary.js +1 -1
- package/lib/model/alarm-summary.js.map +1 -1
- package/lib/model/alarm-suppression-alarm-target.d.ts +32 -0
- package/lib/model/alarm-suppression-alarm-target.js +58 -0
- package/lib/model/alarm-suppression-alarm-target.js.map +1 -0
- package/lib/model/alarm-suppression-collection.d.ts +32 -0
- package/lib/model/alarm-suppression-collection.js +65 -0
- package/lib/model/alarm-suppression-collection.js.map +1 -0
- package/lib/model/alarm-suppression-history-item-collection.d.ts +32 -0
- package/lib/model/alarm-suppression-history-item-collection.js +65 -0
- package/lib/model/alarm-suppression-history-item-collection.js.map +1 -0
- package/lib/model/alarm-suppression-history-item.d.ts +87 -0
- package/lib/model/alarm-suppression-history-item.js +71 -0
- package/lib/model/alarm-suppression-history-item.js.map +1 -0
- package/lib/model/alarm-suppression-summary.d.ts +114 -0
- package/lib/model/alarm-suppression-summary.js +61 -0
- package/lib/model/alarm-suppression-summary.js.map +1 -0
- package/lib/model/alarm-suppression-target.d.ts +26 -0
- package/lib/model/alarm-suppression-target.js +72 -0
- package/lib/model/alarm-suppression-target.js.map +1 -0
- package/lib/model/alarm-suppression.d.ts +123 -0
- package/lib/model/alarm-suppression.js +71 -0
- package/lib/model/alarm-suppression.js.map +1 -0
- package/lib/model/alarm.d.ts +26 -27
- package/lib/model/alarm.js +1 -1
- package/lib/model/alarm.js.map +1 -1
- package/lib/model/change-alarm-compartment-details.d.ts +1 -1
- package/lib/model/change-alarm-compartment-details.js +1 -1
- package/lib/model/create-alarm-details.d.ts +23 -24
- package/lib/model/create-alarm-details.js +1 -1
- package/lib/model/create-alarm-details.js.map +1 -1
- package/lib/model/create-alarm-suppression-details.d.ts +91 -0
- package/lib/model/create-alarm-suppression-details.js +61 -0
- package/lib/model/create-alarm-suppression-details.js.map +1 -0
- package/lib/model/datapoint.d.ts +3 -3
- package/lib/model/datapoint.js +1 -1
- package/lib/model/failed-metric-record.d.ts +1 -1
- package/lib/model/failed-metric-record.js +1 -1
- package/lib/model/index.d.ts +19 -1
- package/lib/model/index.js +20 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/list-metrics-details.d.ts +9 -9
- package/lib/model/list-metrics-details.js +1 -1
- package/lib/model/metric-data-details.d.ts +8 -8
- package/lib/model/metric-data-details.js +1 -1
- package/lib/model/metric-data.d.ts +8 -8
- package/lib/model/metric-data.js +1 -1
- package/lib/model/metric.d.ts +5 -5
- package/lib/model/metric.js +1 -1
- package/lib/model/post-metric-data-details.d.ts +2 -2
- package/lib/model/post-metric-data-details.js +1 -1
- package/lib/model/post-metric-data-response-details.d.ts +1 -1
- package/lib/model/post-metric-data-response-details.js +1 -1
- package/lib/model/retrieve-dimension-states-details.d.ts +4 -4
- package/lib/model/retrieve-dimension-states-details.js +1 -1
- package/lib/model/summarize-alarm-suppression-history-details.d.ts +58 -0
- package/lib/model/summarize-alarm-suppression-history-details.js +33 -0
- package/lib/model/summarize-alarm-suppression-history-details.js.map +1 -0
- package/lib/model/summarize-metrics-data-details.d.ts +12 -9
- package/lib/model/summarize-metrics-data-details.js +1 -1
- package/lib/model/summarize-metrics-data-details.js.map +1 -1
- package/lib/model/suppression.d.ts +6 -5
- package/lib/model/suppression.js +1 -1
- package/lib/model/suppression.js.map +1 -1
- package/lib/model/update-alarm-details.d.ts +22 -23
- package/lib/model/update-alarm-details.js +1 -1
- package/lib/model/update-alarm-details.js.map +1 -1
- package/lib/monitoring-waiter.d.ts +9 -1
- package/lib/monitoring-waiter.js +13 -1
- package/lib/monitoring-waiter.js.map +1 -1
- package/lib/request/change-alarm-compartment-request.d.ts +2 -2
- package/lib/request/create-alarm-request.d.ts +1 -1
- package/lib/request/create-alarm-suppression-request.d.ts +39 -0
- package/lib/request/create-alarm-suppression-request.js +15 -0
- package/lib/request/create-alarm-suppression-request.js.map +1 -0
- package/lib/request/delete-alarm-request.d.ts +2 -2
- package/lib/request/delete-alarm-suppression-request.d.ts +35 -0
- package/lib/request/delete-alarm-suppression-request.js +15 -0
- package/lib/request/delete-alarm-suppression-request.js.map +1 -0
- package/lib/request/get-alarm-history-request.d.ts +5 -5
- package/lib/request/get-alarm-request.d.ts +1 -1
- package/lib/request/get-alarm-suppression-request.d.ts +28 -0
- package/lib/request/get-alarm-suppression-request.js +15 -0
- package/lib/request/get-alarm-suppression-request.js.map +1 -0
- package/lib/request/index.d.ts +11 -1
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-alarm-suppressions-request.d.ts +83 -0
- package/lib/request/list-alarm-suppressions-request.js +30 -0
- package/lib/request/list-alarm-suppressions-request.js.map +1 -0
- package/lib/request/list-alarms-request.d.ts +5 -5
- package/lib/request/list-alarms-status-request.d.ts +15 -16
- package/lib/request/list-alarms-status-request.js.map +1 -1
- package/lib/request/list-metrics-request.d.ts +3 -3
- package/lib/request/post-metric-data-request.d.ts +1 -1
- package/lib/request/remove-alarm-suppression-request.d.ts +2 -2
- package/lib/request/retrieve-dimension-states-request.d.ts +2 -2
- package/lib/request/summarize-alarm-suppression-history-request.d.ts +52 -0
- package/lib/request/summarize-alarm-suppression-history-request.js +15 -0
- package/lib/request/summarize-alarm-suppression-history-request.js.map +1 -0
- package/lib/request/summarize-metrics-data-request.d.ts +2 -2
- package/lib/request/update-alarm-request.d.ts +2 -2
- package/lib/response/create-alarm-response.d.ts +1 -1
- package/lib/response/create-alarm-suppression-response.d.ts +30 -0
- package/lib/response/create-alarm-suppression-response.js +15 -0
- package/lib/response/create-alarm-suppression-response.js.map +1 -0
- package/lib/response/delete-alarm-suppression-response.d.ts +20 -0
- package/lib/response/delete-alarm-suppression-response.js +15 -0
- package/lib/response/delete-alarm-suppression-response.js.map +1 -0
- package/lib/response/get-alarm-response.d.ts +1 -1
- package/lib/response/get-alarm-suppression-response.d.ts +30 -0
- package/lib/response/get-alarm-suppression-response.js +15 -0
- package/lib/response/get-alarm-suppression-response.js.map +1 -0
- package/lib/response/index.d.ts +11 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-alarm-suppressions-response.d.ts +39 -0
- package/lib/response/list-alarm-suppressions-response.js +15 -0
- package/lib/response/list-alarm-suppressions-response.js.map +1 -0
- package/lib/response/summarize-alarm-suppression-history-response.d.ts +39 -0
- package/lib/response/summarize-alarm-suppression-history-response.js +15 -0
- package/lib/response/summarize-alarm-suppression-history-response.js.map +1 -0
- package/lib/response/update-alarm-response.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitoring API
|
|
3
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
|
+
For more information, see
|
|
6
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20180401
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* The configuration details for creating a dimension-specific alarm suppression.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAlarmSuppressionDetails {
|
|
23
|
+
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
|
|
24
|
+
/**
|
|
25
|
+
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
26
|
+
*/
|
|
27
|
+
"displayName": string;
|
|
28
|
+
/**
|
|
29
|
+
* Human-readable reason for this alarm suppression.
|
|
30
|
+
* It does not have to be unique, and it's changeable.
|
|
31
|
+
* Avoid entering confidential information.
|
|
32
|
+
* <p>
|
|
33
|
+
Oracle recommends including tracking information for the event or associated work,
|
|
34
|
+
* such as a ticket number.
|
|
35
|
+
* <p>
|
|
36
|
+
Example: {@code Planned outage due to change IT-1234.}
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"description"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs.
|
|
42
|
+
* If you specify {\"availabilityDomain\": \"phx-ad-1\"}
|
|
43
|
+
* and the alarm state entry corresponds to the set {\"availabilityDomain\": \"phx-ad-1\" and \"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"},
|
|
44
|
+
* then this alarm will be included for suppression.
|
|
45
|
+
* <p>
|
|
46
|
+
The value cannot be an empty object.
|
|
47
|
+
* Only a single value is allowed per key. No grouping of multiple values is allowed under the same key.
|
|
48
|
+
* Maximum characters (after serialization): 4000. This maximum satisfies typical use cases.
|
|
49
|
+
* The response for an exceeded maximum is {@code HTTP 400} with an \"dimensions values are too long\" message.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"dimensions": {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The start date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
|
57
|
+
* <p>
|
|
58
|
+
Example: {@code 2023-02-01T01:02:29.600Z}
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
"timeSuppressFrom": Date;
|
|
62
|
+
/**
|
|
63
|
+
* The end date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
|
64
|
+
* <p>
|
|
65
|
+
Example: {@code 2023-02-01T02:02:29.600Z}
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"timeSuppressUntil": Date;
|
|
69
|
+
/**
|
|
70
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
71
|
+
* Example: {@code {\"Department\": \"Finance\"}}
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"freeformTags"?: {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Usage of predefined tag keys. These predefined keys are scoped to namespaces.
|
|
79
|
+
* Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"definedTags"?: {
|
|
83
|
+
[key: string]: {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export declare namespace CreateAlarmSuppressionDetails {
|
|
89
|
+
function getJsonObj(obj: CreateAlarmSuppressionDetails): object;
|
|
90
|
+
function getDeserializedJsonObj(obj: CreateAlarmSuppressionDetails): object;
|
|
91
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Monitoring API
|
|
4
|
+
* Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources.
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
|
+
For more information, see
|
|
7
|
+
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20180401
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.CreateAlarmSuppressionDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var CreateAlarmSuppressionDetails;
|
|
41
|
+
(function (CreateAlarmSuppressionDetails) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
44
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
45
|
+
? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
CreateAlarmSuppressionDetails.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"alarmSuppressionTarget": obj.alarmSuppressionTarget
|
|
54
|
+
? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
CreateAlarmSuppressionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(CreateAlarmSuppressionDetails = exports.CreateAlarmSuppressionDetails || (exports.CreateAlarmSuppressionDetails = {}));
|
|
61
|
+
//# sourceMappingURL=create-alarm-suppression-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-alarm-suppression-details.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/create-alarm-suppression-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkElC,IAAiB,6BAA6B,CAyB7C;AAzBD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,GAAG,CAAC,sBAAsB,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAyB7C"}
|
package/lib/model/datapoint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -23,14 +23,14 @@ export interface Datapoint {
|
|
|
23
23
|
* Timestamp for this metric value. Format defined by RFC3339.
|
|
24
24
|
* For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future).
|
|
25
25
|
* <p>
|
|
26
|
-
Example:
|
|
26
|
+
Example: {@code 2023-02-01T01:02:29.600Z}
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
"timestamp": Date;
|
|
30
30
|
/**
|
|
31
31
|
* Numeric value of the metric.
|
|
32
32
|
* <p>
|
|
33
|
-
Example:
|
|
33
|
+
Example: {@code 10.23}
|
|
34
34
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
35
35
|
*/
|
|
36
36
|
"value": number;
|
package/lib/model/datapoint.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -30,10 +30,24 @@ import * as AlarmStatusSummary from "./alarm-status-summary";
|
|
|
30
30
|
export import AlarmStatusSummary = AlarmStatusSummary.AlarmStatusSummary;
|
|
31
31
|
import * as AlarmSummary from "./alarm-summary";
|
|
32
32
|
export import AlarmSummary = AlarmSummary.AlarmSummary;
|
|
33
|
+
import * as AlarmSuppression from "./alarm-suppression";
|
|
34
|
+
export import AlarmSuppression = AlarmSuppression.AlarmSuppression;
|
|
35
|
+
import * as AlarmSuppressionCollection from "./alarm-suppression-collection";
|
|
36
|
+
export import AlarmSuppressionCollection = AlarmSuppressionCollection.AlarmSuppressionCollection;
|
|
37
|
+
import * as AlarmSuppressionHistoryItem from "./alarm-suppression-history-item";
|
|
38
|
+
export import AlarmSuppressionHistoryItem = AlarmSuppressionHistoryItem.AlarmSuppressionHistoryItem;
|
|
39
|
+
import * as AlarmSuppressionHistoryItemCollection from "./alarm-suppression-history-item-collection";
|
|
40
|
+
export import AlarmSuppressionHistoryItemCollection = AlarmSuppressionHistoryItemCollection.AlarmSuppressionHistoryItemCollection;
|
|
41
|
+
import * as AlarmSuppressionSummary from "./alarm-suppression-summary";
|
|
42
|
+
export import AlarmSuppressionSummary = AlarmSuppressionSummary.AlarmSuppressionSummary;
|
|
43
|
+
import * as AlarmSuppressionTarget from "./alarm-suppression-target";
|
|
44
|
+
export import AlarmSuppressionTarget = AlarmSuppressionTarget.AlarmSuppressionTarget;
|
|
33
45
|
import * as ChangeAlarmCompartmentDetails from "./change-alarm-compartment-details";
|
|
34
46
|
export import ChangeAlarmCompartmentDetails = ChangeAlarmCompartmentDetails.ChangeAlarmCompartmentDetails;
|
|
35
47
|
import * as CreateAlarmDetails from "./create-alarm-details";
|
|
36
48
|
export import CreateAlarmDetails = CreateAlarmDetails.CreateAlarmDetails;
|
|
49
|
+
import * as CreateAlarmSuppressionDetails from "./create-alarm-suppression-details";
|
|
50
|
+
export import CreateAlarmSuppressionDetails = CreateAlarmSuppressionDetails.CreateAlarmSuppressionDetails;
|
|
37
51
|
import * as Datapoint from "./datapoint";
|
|
38
52
|
export import Datapoint = Datapoint.Datapoint;
|
|
39
53
|
import * as FailedMetricRecord from "./failed-metric-record";
|
|
@@ -52,9 +66,13 @@ import * as PostMetricDataResponseDetails from "./post-metric-data-response-deta
|
|
|
52
66
|
export import PostMetricDataResponseDetails = PostMetricDataResponseDetails.PostMetricDataResponseDetails;
|
|
53
67
|
import * as RetrieveDimensionStatesDetails from "./retrieve-dimension-states-details";
|
|
54
68
|
export import RetrieveDimensionStatesDetails = RetrieveDimensionStatesDetails.RetrieveDimensionStatesDetails;
|
|
69
|
+
import * as SummarizeAlarmSuppressionHistoryDetails from "./summarize-alarm-suppression-history-details";
|
|
70
|
+
export import SummarizeAlarmSuppressionHistoryDetails = SummarizeAlarmSuppressionHistoryDetails.SummarizeAlarmSuppressionHistoryDetails;
|
|
55
71
|
import * as SummarizeMetricsDataDetails from "./summarize-metrics-data-details";
|
|
56
72
|
export import SummarizeMetricsDataDetails = SummarizeMetricsDataDetails.SummarizeMetricsDataDetails;
|
|
57
73
|
import * as Suppression from "./suppression";
|
|
58
74
|
export import Suppression = Suppression.Suppression;
|
|
59
75
|
import * as UpdateAlarmDetails from "./update-alarm-details";
|
|
60
76
|
export import UpdateAlarmDetails = UpdateAlarmDetails.UpdateAlarmDetails;
|
|
77
|
+
import * as AlarmSuppressionAlarmTarget from "./alarm-suppression-alarm-target";
|
|
78
|
+
export import AlarmSuppressionAlarmTarget = AlarmSuppressionAlarmTarget.AlarmSuppressionAlarmTarget;
|
package/lib/model/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
35
35
|
return result;
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
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
|
+
exports.AlarmSuppressionAlarmTarget = exports.UpdateAlarmDetails = exports.Suppression = exports.SummarizeMetricsDataDetails = exports.SummarizeAlarmSuppressionHistoryDetails = exports.RetrieveDimensionStatesDetails = exports.PostMetricDataResponseDetails = exports.PostMetricDataDetails = exports.MetricDataDetails = exports.MetricData = exports.Metric = exports.ListMetricsDetails = exports.FailedMetricRecord = exports.Datapoint = exports.CreateAlarmSuppressionDetails = exports.CreateAlarmDetails = exports.ChangeAlarmCompartmentDetails = exports.AlarmSuppressionTarget = exports.AlarmSuppressionSummary = exports.AlarmSuppressionHistoryItemCollection = exports.AlarmSuppressionHistoryItem = exports.AlarmSuppressionCollection = exports.AlarmSuppression = exports.AlarmSummary = exports.AlarmStatusSummary = exports.AlarmHistoryEntry = exports.AlarmHistoryCollection = exports.AlarmDimensionStatesEntry = exports.AlarmDimensionStatesCollection = exports.Alarm = exports.AggregatedDatapoint = void 0;
|
|
39
39
|
const AggregatedDatapoint = __importStar(require("./aggregated-datapoint"));
|
|
40
40
|
exports.AggregatedDatapoint = AggregatedDatapoint.AggregatedDatapoint;
|
|
41
41
|
const Alarm = __importStar(require("./alarm"));
|
|
@@ -52,10 +52,24 @@ const AlarmStatusSummary = __importStar(require("./alarm-status-summary"));
|
|
|
52
52
|
exports.AlarmStatusSummary = AlarmStatusSummary.AlarmStatusSummary;
|
|
53
53
|
const AlarmSummary = __importStar(require("./alarm-summary"));
|
|
54
54
|
exports.AlarmSummary = AlarmSummary.AlarmSummary;
|
|
55
|
+
const AlarmSuppression = __importStar(require("./alarm-suppression"));
|
|
56
|
+
exports.AlarmSuppression = AlarmSuppression.AlarmSuppression;
|
|
57
|
+
const AlarmSuppressionCollection = __importStar(require("./alarm-suppression-collection"));
|
|
58
|
+
exports.AlarmSuppressionCollection = AlarmSuppressionCollection.AlarmSuppressionCollection;
|
|
59
|
+
const AlarmSuppressionHistoryItem = __importStar(require("./alarm-suppression-history-item"));
|
|
60
|
+
exports.AlarmSuppressionHistoryItem = AlarmSuppressionHistoryItem.AlarmSuppressionHistoryItem;
|
|
61
|
+
const AlarmSuppressionHistoryItemCollection = __importStar(require("./alarm-suppression-history-item-collection"));
|
|
62
|
+
exports.AlarmSuppressionHistoryItemCollection = AlarmSuppressionHistoryItemCollection.AlarmSuppressionHistoryItemCollection;
|
|
63
|
+
const AlarmSuppressionSummary = __importStar(require("./alarm-suppression-summary"));
|
|
64
|
+
exports.AlarmSuppressionSummary = AlarmSuppressionSummary.AlarmSuppressionSummary;
|
|
65
|
+
const AlarmSuppressionTarget = __importStar(require("./alarm-suppression-target"));
|
|
66
|
+
exports.AlarmSuppressionTarget = AlarmSuppressionTarget.AlarmSuppressionTarget;
|
|
55
67
|
const ChangeAlarmCompartmentDetails = __importStar(require("./change-alarm-compartment-details"));
|
|
56
68
|
exports.ChangeAlarmCompartmentDetails = ChangeAlarmCompartmentDetails.ChangeAlarmCompartmentDetails;
|
|
57
69
|
const CreateAlarmDetails = __importStar(require("./create-alarm-details"));
|
|
58
70
|
exports.CreateAlarmDetails = CreateAlarmDetails.CreateAlarmDetails;
|
|
71
|
+
const CreateAlarmSuppressionDetails = __importStar(require("./create-alarm-suppression-details"));
|
|
72
|
+
exports.CreateAlarmSuppressionDetails = CreateAlarmSuppressionDetails.CreateAlarmSuppressionDetails;
|
|
59
73
|
const Datapoint = __importStar(require("./datapoint"));
|
|
60
74
|
exports.Datapoint = Datapoint.Datapoint;
|
|
61
75
|
const FailedMetricRecord = __importStar(require("./failed-metric-record"));
|
|
@@ -74,10 +88,14 @@ const PostMetricDataResponseDetails = __importStar(require("./post-metric-data-r
|
|
|
74
88
|
exports.PostMetricDataResponseDetails = PostMetricDataResponseDetails.PostMetricDataResponseDetails;
|
|
75
89
|
const RetrieveDimensionStatesDetails = __importStar(require("./retrieve-dimension-states-details"));
|
|
76
90
|
exports.RetrieveDimensionStatesDetails = RetrieveDimensionStatesDetails.RetrieveDimensionStatesDetails;
|
|
91
|
+
const SummarizeAlarmSuppressionHistoryDetails = __importStar(require("./summarize-alarm-suppression-history-details"));
|
|
92
|
+
exports.SummarizeAlarmSuppressionHistoryDetails = SummarizeAlarmSuppressionHistoryDetails.SummarizeAlarmSuppressionHistoryDetails;
|
|
77
93
|
const SummarizeMetricsDataDetails = __importStar(require("./summarize-metrics-data-details"));
|
|
78
94
|
exports.SummarizeMetricsDataDetails = SummarizeMetricsDataDetails.SummarizeMetricsDataDetails;
|
|
79
95
|
const Suppression = __importStar(require("./suppression"));
|
|
80
96
|
exports.Suppression = Suppression.Suppression;
|
|
81
97
|
const UpdateAlarmDetails = __importStar(require("./update-alarm-details"));
|
|
82
98
|
exports.UpdateAlarmDetails = UpdateAlarmDetails.UpdateAlarmDetails;
|
|
99
|
+
const AlarmSuppressionAlarmTarget = __importStar(require("./alarm-suppression-alarm-target"));
|
|
100
|
+
exports.AlarmSuppressionAlarmTarget = AlarmSuppressionAlarmTarget.AlarmSuppressionAlarmTarget;
|
|
83
101
|
//# sourceMappingURL=index.js.map
|
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;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/monitoring/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;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,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,2FAA6E;AAC/D,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,mHAAqG;AACvF,QAAA,qCAAqC,GAAG,qCAAqC,CAAC,qCAAqC,CAAC;AAClI,qFAAuE;AACzD,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,kGAAoF;AACtE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,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,uHAAyG;AAC3F,QAAA,uCAAuC,GAAG,uCAAuC,CAAC,uCAAuC,CAAC;AACxI,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;AAEzE,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -25,14 +25,14 @@ export interface ListMetricsDetails {
|
|
|
25
25
|
/**
|
|
26
26
|
* The metric name to use when searching for metric definitions.
|
|
27
27
|
* <p>
|
|
28
|
-
Example:
|
|
28
|
+
Example: {@code CpuUtilization}
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
"name"?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The source service or application to use when searching for metric definitions.
|
|
34
34
|
* <p>
|
|
35
|
-
Example:
|
|
35
|
+
Example: {@code oci_computeagent}
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
"namespace"?: string;
|
|
@@ -40,7 +40,7 @@ export interface ListMetricsDetails {
|
|
|
40
40
|
* Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric.
|
|
41
41
|
* A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
|
|
42
42
|
* <p>
|
|
43
|
-
Example:
|
|
43
|
+
Example: {@code frontend-fleet}
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
46
|
"resourceGroup"?: string;
|
|
@@ -48,7 +48,7 @@ export interface ListMetricsDetails {
|
|
|
48
48
|
* Qualifiers that you want to use when searching for metric definitions.
|
|
49
49
|
* Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair.
|
|
50
50
|
* <p>
|
|
51
|
-
Example:
|
|
51
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
"dimensionFilters"?: {
|
|
@@ -57,17 +57,17 @@ export interface ListMetricsDetails {
|
|
|
57
57
|
/**
|
|
58
58
|
* Group metrics by these fields in the response. For example, to list all metric namespaces available
|
|
59
59
|
* in a compartment, groupBy the \"namespace\" field. Supported fields: namespace, name, resourceGroup.
|
|
60
|
-
* If
|
|
60
|
+
* If {@code groupBy} is used, then {@code dimensionFilters} is ignored.
|
|
61
61
|
* <p>
|
|
62
62
|
Example - group by namespace:
|
|
63
|
-
*
|
|
63
|
+
* {@code [ \"namespace\" ]}
|
|
64
64
|
*
|
|
65
65
|
*/
|
|
66
66
|
"groupBy"?: Array<string>;
|
|
67
67
|
/**
|
|
68
68
|
* The field to use when sorting returned metric definitions. Only one sorting level is provided.
|
|
69
69
|
* <p>
|
|
70
|
-
Example:
|
|
70
|
+
Example: {@code NAMESPACE}
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
73
|
"sortBy"?: ListMetricsDetails.SortBy;
|
|
@@ -75,7 +75,7 @@ export interface ListMetricsDetails {
|
|
|
75
75
|
* The sort order to use when sorting returned metric definitions. Ascending (ASC) or
|
|
76
76
|
* descending (DESC).
|
|
77
77
|
* <p>
|
|
78
|
-
Example:
|
|
78
|
+
Example: {@code ASC}
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
81
|
"sortOrder"?: ListMetricsDetails.SortOrder;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -23,10 +23,10 @@ export interface MetricDataDetails {
|
|
|
23
23
|
/**
|
|
24
24
|
* The source service or application emitting the metric.
|
|
25
25
|
* <p>
|
|
26
|
-
A valid namespace value starts with an alphabetical character and includes only alphanumeric characters and underscores.
|
|
26
|
+
A valid namespace value starts with an alphabetical character and includes only alphanumeric characters and underscores. Custom metrics can't use the following reserved prefixes: {@code oci_} and {@code oracle_}
|
|
27
27
|
* Avoid entering confidential information.
|
|
28
28
|
* <p>
|
|
29
|
-
Example:
|
|
29
|
+
Example: {@code my_namespace}
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"namespace": string;
|
|
@@ -35,7 +35,7 @@ export interface MetricDataDetails {
|
|
|
35
35
|
* A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
|
|
36
36
|
* Avoid entering confidential information.
|
|
37
37
|
* <p>
|
|
38
|
-
Example:
|
|
38
|
+
Example: {@code frontend-fleet}
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
"resourceGroup"?: string;
|
|
@@ -47,10 +47,10 @@ export interface MetricDataDetails {
|
|
|
47
47
|
/**
|
|
48
48
|
* The name of the metric.
|
|
49
49
|
* <p>
|
|
50
|
-
A valid name value starts with an alphabetical character and includes only alphanumeric characters, dots, underscores, hyphens, and dollar signs.
|
|
50
|
+
A valid name value starts with an alphabetical character and includes only alphanumeric characters, dots, underscores, hyphens, and dollar signs.
|
|
51
51
|
* Avoid entering confidential information.
|
|
52
52
|
* <p>
|
|
53
|
-
Example:
|
|
53
|
+
Example: {@code my_app.success_rate}
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
56
|
"name": string;
|
|
@@ -61,7 +61,7 @@ export interface MetricDataDetails {
|
|
|
61
61
|
* A valid dimension value includes only Unicode characters. The character limit for a dimension value is 512.
|
|
62
62
|
* Empty strings are not allowed for keys or values. Avoid entering confidential information.
|
|
63
63
|
* <p>
|
|
64
|
-
Example:
|
|
64
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
65
65
|
*
|
|
66
66
|
*/
|
|
67
67
|
"dimensions": {
|
|
@@ -71,7 +71,7 @@ export interface MetricDataDetails {
|
|
|
71
71
|
* Properties describing metrics. These are not part of the unique fields identifying the metric.
|
|
72
72
|
* Each metadata item takes the form of a key-value pair. The character limit for a metadata key is 256. The character limit for a metadata value is 256.
|
|
73
73
|
* <p>
|
|
74
|
-
Example:
|
|
74
|
+
Example: {@code \"unit\": \"bytes\"}
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
"metadata"?: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -41,7 +41,7 @@ export interface MetricData {
|
|
|
41
41
|
* The reference provided in a metric definition to indicate the source service or
|
|
42
42
|
* application that emitted the metric.
|
|
43
43
|
* <p>
|
|
44
|
-
Example:
|
|
44
|
+
Example: {@code oci_computeagent}
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
47
|
"namespace": string;
|
|
@@ -49,7 +49,7 @@ export interface MetricData {
|
|
|
49
49
|
* Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric.
|
|
50
50
|
* A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
|
|
51
51
|
* <p>
|
|
52
|
-
Example:
|
|
52
|
+
Example: {@code frontend-fleet}
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
"resourceGroup"?: string;
|
|
@@ -62,7 +62,7 @@ export interface MetricData {
|
|
|
62
62
|
/**
|
|
63
63
|
* The name of the metric.
|
|
64
64
|
* <p>
|
|
65
|
-
Example:
|
|
65
|
+
Example: {@code CpuUtilization}
|
|
66
66
|
*
|
|
67
67
|
*/
|
|
68
68
|
"name": string;
|
|
@@ -70,7 +70,7 @@ export interface MetricData {
|
|
|
70
70
|
* Qualifiers provided in the definition of the returned metric.
|
|
71
71
|
* Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair.
|
|
72
72
|
* <p>
|
|
73
|
-
Example:
|
|
73
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
76
|
"dimensions": {
|
|
@@ -79,7 +79,7 @@ export interface MetricData {
|
|
|
79
79
|
/**
|
|
80
80
|
* The references provided in a metric definition to indicate extra information about the metric.
|
|
81
81
|
* <p>
|
|
82
|
-
Example:
|
|
82
|
+
Example: {@code \"unit\": \"bytes\"}
|
|
83
83
|
*
|
|
84
84
|
*/
|
|
85
85
|
"metadata"?: {
|
|
@@ -90,9 +90,9 @@ export interface MetricData {
|
|
|
90
90
|
* frequency for returning aggregated data points. For example, use a query interval of
|
|
91
91
|
* 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute
|
|
92
92
|
* frequency. The resolution must be equal or less than the interval in the query. The default
|
|
93
|
-
* resolution is 1m (one minute). Supported values:
|
|
93
|
+
* resolution is 1m (one minute). Supported values: {@code 1m}-{@code 60m}, {@code 1h}-{@code 24h}, {@code 1d}.
|
|
94
94
|
* <p>
|
|
95
|
-
Example:
|
|
95
|
+
Example: {@code 5m}
|
|
96
96
|
*
|
|
97
97
|
*/
|
|
98
98
|
"resolution"?: string;
|
package/lib/model/metric-data.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
package/lib/model/metric.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -24,14 +24,14 @@ export interface Metric {
|
|
|
24
24
|
/**
|
|
25
25
|
* The name of the metric.
|
|
26
26
|
* <p>
|
|
27
|
-
Example:
|
|
27
|
+
Example: {@code CpuUtilization}
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
"name"?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The source service or application emitting the metric.
|
|
33
33
|
* <p>
|
|
34
|
-
Example:
|
|
34
|
+
Example: {@code oci_computeagent}
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
"namespace"?: string;
|
|
@@ -39,7 +39,7 @@ export interface Metric {
|
|
|
39
39
|
* Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric.
|
|
40
40
|
* A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
|
|
41
41
|
* <p>
|
|
42
|
-
Example:
|
|
42
|
+
Example: {@code frontend-fleet}
|
|
43
43
|
*
|
|
44
44
|
*/
|
|
45
45
|
"resourceGroup"?: string;
|
|
@@ -53,7 +53,7 @@ export interface Metric {
|
|
|
53
53
|
* Qualifiers provided in a metric definition. Available dimensions vary by metric namespace.
|
|
54
54
|
* Each dimension takes the form of a key-value pair.
|
|
55
55
|
* <p>
|
|
56
|
-
Example:
|
|
56
|
+
Example: {@code {\"resourceId\": \"ocid1.instance.region1.phx.exampleuniqueID\"}}
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
59
|
"dimensions"?: {
|
package/lib/model/metric.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Monitoring API
|
|
4
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
|
|
5
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
6
6
|
For more information, see
|
|
7
7
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Monitoring API
|
|
3
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
|
|
4
|
+
Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints.
|
|
5
5
|
For more information, see
|
|
6
6
|
[the Monitoring documentation](/iaas/Content/Monitoring/home.htm).
|
|
7
7
|
|
|
@@ -33,7 +33,7 @@ export interface PostMetricDataDetails {
|
|
|
33
33
|
* their error messages. A value of ATOMIC requires a full pass: all metric objects in
|
|
34
34
|
* the request must pass input validation.
|
|
35
35
|
* <p>
|
|
36
|
-
Example:
|
|
36
|
+
Example: {@code NON_ATOMIC}
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
"batchAtomicity"?: PostMetricDataDetails.BatchAtomicity;
|