oci-monitoring
Advanced tools
Comparing version 1.22.0 to 1.22.1
@@ -18,3 +18,3 @@ /** | ||
import * as requests from "./request"; | ||
import * as models from "./model"; | ||
import * as model from "./model"; | ||
import * as responses from "./response"; | ||
@@ -79,3 +79,3 @@ import { MonitoringWaiter } from "./monitoring-waiter"; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartment API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartment API. | ||
*/ | ||
@@ -94,3 +94,3 @@ changeAlarmCompartment(changeAlarmCompartmentRequest: requests.ChangeAlarmCompartmentRequest): Promise<responses.ChangeAlarmCompartmentResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarm API. | ||
*/ | ||
@@ -109,3 +109,3 @@ createAlarm(createAlarmRequest: requests.CreateAlarmRequest): Promise<responses.CreateAlarmResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarm API. | ||
*/ | ||
@@ -124,3 +124,3 @@ deleteAlarm(deleteAlarmRequest: requests.DeleteAlarmRequest): Promise<responses.DeleteAlarmResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarm API. | ||
*/ | ||
@@ -139,3 +139,3 @@ getAlarm(getAlarmRequest: requests.GetAlarmRequest): Promise<responses.GetAlarmResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistory API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistory API. | ||
*/ | ||
@@ -154,3 +154,3 @@ getAlarmHistory(getAlarmHistoryRequest: requests.GetAlarmHistoryRequest): Promise<responses.GetAlarmHistoryResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarms API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarms API. | ||
*/ | ||
@@ -165,3 +165,3 @@ listAlarms(listAlarmsRequest: requests.ListAlarmsRequest): Promise<responses.ListAlarmsResponse>; | ||
*/ | ||
listAllAlarms(request: requests.ListAlarmsRequest): AsyncIterableIterator<models.AlarmSummary>; | ||
listAllAlarms(request: requests.ListAlarmsRequest): AsyncIterableIterator<model.AlarmSummary>; | ||
/** | ||
@@ -185,3 +185,3 @@ * Creates a new async iterator which will iterate over the responses received from the listAlarms operation. This iterator | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatus API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatus API. | ||
*/ | ||
@@ -196,3 +196,3 @@ listAlarmsStatus(listAlarmsStatusRequest: requests.ListAlarmsStatusRequest): Promise<responses.ListAlarmsStatusResponse>; | ||
*/ | ||
listAllAlarmsStatus(request: requests.ListAlarmsStatusRequest): AsyncIterableIterator<models.AlarmStatusSummary>; | ||
listAllAlarmsStatus(request: requests.ListAlarmsStatusRequest): AsyncIterableIterator<model.AlarmStatusSummary>; | ||
/** | ||
@@ -215,3 +215,3 @@ * Creates a new async iterator which will iterate over the responses received from the listAlarmsStatus operation. This iterator | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListMetrics.ts.html |here} to see how to use ListMetrics API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListMetrics.ts.html |here} to see how to use ListMetrics API. | ||
*/ | ||
@@ -226,3 +226,3 @@ listMetrics(listMetricsRequest: requests.ListMetricsRequest): Promise<responses.ListMetricsResponse>; | ||
*/ | ||
listAllMetrics(request: requests.ListMetricsRequest): AsyncIterableIterator<models.Metric>; | ||
listAllMetrics(request: requests.ListMetricsRequest): AsyncIterableIterator<model.Metric>; | ||
/** | ||
@@ -258,3 +258,3 @@ * Creates a new async iterator which will iterate over the responses received from the listMetrics operation. This iterator | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricData API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricData API. | ||
*/ | ||
@@ -273,3 +273,3 @@ postMetricData(postMetricDataRequest: requests.PostMetricDataRequest): Promise<responses.PostMetricDataResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppression API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppression API. | ||
*/ | ||
@@ -287,3 +287,3 @@ removeAlarmSuppression(removeAlarmSuppressionRequest: requests.RemoveAlarmSuppressionRequest): Promise<responses.RemoveAlarmSuppressionResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsData API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsData API. | ||
*/ | ||
@@ -302,5 +302,5 @@ summarizeMetricsData(summarizeMetricsDataRequest: requests.SummarizeMetricsDataRequest): Promise<responses.SummarizeMetricsDataResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarm API. | ||
*/ | ||
updateAlarm(updateAlarmRequest: requests.UpdateAlarmRequest): Promise<responses.UpdateAlarmResponse>; | ||
} |
@@ -48,3 +48,3 @@ "use strict"; | ||
const common = require("oci-common"); | ||
const models = __importStar(require("./model")); | ||
const model = __importStar(require("./model")); | ||
const oci_common_1 = require("oci-common"); | ||
@@ -150,3 +150,3 @@ const monitoring_waiter_1 = require("./monitoring-waiter"); | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartment API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartment API. | ||
*/ | ||
@@ -175,3 +175,3 @@ changeAlarmCompartment(changeAlarmCompartmentRequest) { | ||
method: "POST", | ||
bodyContent: common.ObjectSerializer.serialize(changeAlarmCompartmentRequest.changeAlarmCompartmentDetails, "ChangeAlarmCompartmentDetails", models.ChangeAlarmCompartmentDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(changeAlarmCompartmentRequest.changeAlarmCompartmentDetails, "ChangeAlarmCompartmentDetails", model.ChangeAlarmCompartmentDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -211,3 +211,3 @@ headerParams: headerParams, | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarm API. | ||
*/ | ||
@@ -233,3 +233,3 @@ createAlarm(createAlarmRequest) { | ||
method: "POST", | ||
bodyContent: common.ObjectSerializer.serialize(createAlarmRequest.createAlarmDetails, "CreateAlarmDetails", models.CreateAlarmDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(createAlarmRequest.createAlarmDetails, "CreateAlarmDetails", model.CreateAlarmDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -245,3 +245,4 @@ headerParams: headerParams, | ||
bodyKey: "alarm", | ||
bodyModel: "model.Alarm", | ||
bodyModel: model.Alarm, | ||
type: "model.Alarm", | ||
responseHeaders: [ | ||
@@ -278,3 +279,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarm API. | ||
*/ | ||
@@ -336,3 +337,3 @@ deleteAlarm(deleteAlarmRequest) { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarm API. | ||
*/ | ||
@@ -369,3 +370,4 @@ getAlarm(getAlarmRequest) { | ||
bodyKey: "alarm", | ||
bodyModel: "model.Alarm", | ||
bodyModel: model.Alarm, | ||
type: "model.Alarm", | ||
responseHeaders: [ | ||
@@ -402,3 +404,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistory API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistory API. | ||
*/ | ||
@@ -441,3 +443,4 @@ getAlarmHistory(getAlarmHistoryRequest) { | ||
bodyKey: "alarmHistoryCollection", | ||
bodyModel: "model.AlarmHistoryCollection", | ||
bodyModel: model.AlarmHistoryCollection, | ||
type: "model.AlarmHistoryCollection", | ||
responseHeaders: [ | ||
@@ -474,3 +477,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarms API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarms API. | ||
*/ | ||
@@ -514,3 +517,4 @@ listAlarms(listAlarmsRequest) { | ||
bodyKey: "items", | ||
bodyModel: "AlarmSummary[]", | ||
bodyModel: model.AlarmSummary, | ||
type: "Array<model.AlarmSummary>", | ||
responseHeaders: [ | ||
@@ -566,3 +570,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatus API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatus API. | ||
*/ | ||
@@ -605,3 +609,4 @@ listAlarmsStatus(listAlarmsStatusRequest) { | ||
bodyKey: "items", | ||
bodyModel: "AlarmStatusSummary[]", | ||
bodyModel: model.AlarmStatusSummary, | ||
type: "Array<model.AlarmStatusSummary>", | ||
responseHeaders: [ | ||
@@ -656,3 +661,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListMetrics.ts.html |here} to see how to use ListMetrics API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListMetrics.ts.html |here} to see how to use ListMetrics API. | ||
*/ | ||
@@ -682,3 +687,3 @@ listMetrics(listMetricsRequest) { | ||
method: "POST", | ||
bodyContent: common.ObjectSerializer.serialize(listMetricsRequest.listMetricsDetails, "ListMetricsDetails", models.ListMetricsDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(listMetricsRequest.listMetricsDetails, "ListMetricsDetails", model.ListMetricsDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -694,3 +699,4 @@ headerParams: headerParams, | ||
bodyKey: "items", | ||
bodyModel: "Metric[]", | ||
bodyModel: model.Metric, | ||
type: "Array<model.Metric>", | ||
responseHeaders: [ | ||
@@ -758,3 +764,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricData API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricData API. | ||
*/ | ||
@@ -779,3 +785,3 @@ postMetricData(postMetricDataRequest) { | ||
method: "POST", | ||
bodyContent: common.ObjectSerializer.serialize(postMetricDataRequest.postMetricDataDetails, "PostMetricDataDetails", models.PostMetricDataDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(postMetricDataRequest.postMetricDataDetails, "PostMetricDataDetails", model.PostMetricDataDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -791,3 +797,4 @@ headerParams: headerParams, | ||
bodyKey: "postMetricDataResponseDetails", | ||
bodyModel: "model.PostMetricDataResponseDetails", | ||
bodyModel: model.PostMetricDataResponseDetails, | ||
type: "model.PostMetricDataResponseDetails", | ||
responseHeaders: [ | ||
@@ -819,3 +826,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppression API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppression API. | ||
*/ | ||
@@ -876,3 +883,3 @@ removeAlarmSuppression(removeAlarmSuppressionRequest) { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsData API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsData API. | ||
*/ | ||
@@ -900,3 +907,3 @@ summarizeMetricsData(summarizeMetricsDataRequest) { | ||
method: "POST", | ||
bodyContent: common.ObjectSerializer.serialize(summarizeMetricsDataRequest.summarizeMetricsDataDetails, "SummarizeMetricsDataDetails", models.SummarizeMetricsDataDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(summarizeMetricsDataRequest.summarizeMetricsDataDetails, "SummarizeMetricsDataDetails", model.SummarizeMetricsDataDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -912,3 +919,4 @@ headerParams: headerParams, | ||
bodyKey: "items", | ||
bodyModel: "MetricData[]", | ||
bodyModel: model.MetricData, | ||
type: "Array<model.MetricData>", | ||
responseHeaders: [ | ||
@@ -940,3 +948,3 @@ { | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarm API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarm API. | ||
*/ | ||
@@ -964,3 +972,3 @@ updateAlarm(updateAlarmRequest) { | ||
method: "PUT", | ||
bodyContent: common.ObjectSerializer.serialize(updateAlarmRequest.updateAlarmDetails, "UpdateAlarmDetails", models.UpdateAlarmDetails.getJsonObj), | ||
bodyContent: common.ObjectSerializer.serialize(updateAlarmRequest.updateAlarmDetails, "UpdateAlarmDetails", model.UpdateAlarmDetails.getJsonObj), | ||
pathParams: pathParams, | ||
@@ -976,3 +984,4 @@ headerParams: headerParams, | ||
bodyKey: "alarm", | ||
bodyModel: "model.Alarm", | ||
bodyModel: model.Alarm, | ||
type: "model.Alarm", | ||
responseHeaders: [ | ||
@@ -979,0 +988,0 @@ { |
@@ -38,2 +38,3 @@ /** | ||
function getJsonObj(obj: AggregatedDatapoint): object; | ||
function getDeserializedJsonObj(obj: AggregatedDatapoint): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
AggregatedDatapoint.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
AggregatedDatapoint.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(AggregatedDatapoint = exports.AggregatedDatapoint || (exports.AggregatedDatapoint = {})); | ||
//# sourceMappingURL=aggregated-datapoint.js.map |
@@ -42,2 +42,3 @@ /** | ||
function getJsonObj(obj: AlarmHistoryCollection): object; | ||
function getDeserializedJsonObj(obj: AlarmHistoryCollection): object; | ||
} |
@@ -52,3 +52,14 @@ "use strict"; | ||
AlarmHistoryCollection.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"entries": obj.entries | ||
? obj.entries.map(item => { | ||
return model.AlarmHistoryEntry.getDeserializedJsonObj(item); | ||
}) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
AlarmHistoryCollection.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(AlarmHistoryCollection = exports.AlarmHistoryCollection || (exports.AlarmHistoryCollection = {})); | ||
//# sourceMappingURL=alarm-history-collection.js.map |
@@ -49,2 +49,3 @@ /** | ||
function getJsonObj(obj: AlarmHistoryEntry): object; | ||
function getDeserializedJsonObj(obj: AlarmHistoryEntry): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
AlarmHistoryEntry.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
AlarmHistoryEntry.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(AlarmHistoryEntry = exports.AlarmHistoryEntry || (exports.AlarmHistoryEntry = {})); | ||
//# sourceMappingURL=alarm-history-entry.js.map |
@@ -93,2 +93,3 @@ /** | ||
function getJsonObj(obj: AlarmStatusSummary): object; | ||
function getDeserializedJsonObj(obj: AlarmStatusSummary): object; | ||
} |
@@ -71,3 +71,12 @@ "use strict"; | ||
AlarmStatusSummary.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"suppression": obj.suppression | ||
? model.Suppression.getDeserializedJsonObj(obj.suppression) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
AlarmStatusSummary.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(AlarmStatusSummary = exports.AlarmStatusSummary || (exports.AlarmStatusSummary = {})); | ||
//# sourceMappingURL=alarm-status-summary.js.map |
@@ -159,2 +159,3 @@ /** | ||
function getJsonObj(obj: AlarmSummary): object; | ||
function getDeserializedJsonObj(obj: AlarmSummary): object; | ||
} |
@@ -60,3 +60,12 @@ "use strict"; | ||
AlarmSummary.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"suppression": obj.suppression | ||
? model.Suppression.getDeserializedJsonObj(obj.suppression) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
AlarmSummary.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(AlarmSummary = exports.AlarmSummary || (exports.AlarmSummary = {})); | ||
//# sourceMappingURL=alarm-summary.js.map |
@@ -247,2 +247,3 @@ /** | ||
function getJsonObj(obj: Alarm): object; | ||
function getDeserializedJsonObj(obj: Alarm): object; | ||
} |
@@ -71,3 +71,12 @@ "use strict"; | ||
Alarm.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"suppression": obj.suppression | ||
? model.Suppression.getDeserializedJsonObj(obj.suppression) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
Alarm.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(Alarm = exports.Alarm || (exports.Alarm = {})); | ||
//# sourceMappingURL=alarm.js.map |
@@ -29,2 +29,3 @@ /** | ||
function getJsonObj(obj: ChangeAlarmCompartmentDetails): object; | ||
function getDeserializedJsonObj(obj: ChangeAlarmCompartmentDetails): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
ChangeAlarmCompartmentDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
ChangeAlarmCompartmentDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(ChangeAlarmCompartmentDetails = exports.ChangeAlarmCompartmentDetails || (exports.ChangeAlarmCompartmentDetails = {})); | ||
//# sourceMappingURL=change-alarm-compartment-details.js.map |
@@ -193,2 +193,3 @@ /** | ||
function getJsonObj(obj: CreateAlarmDetails): object; | ||
function getDeserializedJsonObj(obj: CreateAlarmDetails): object; | ||
} |
@@ -48,3 +48,12 @@ "use strict"; | ||
CreateAlarmDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"suppression": obj.suppression | ||
? model.Suppression.getDeserializedJsonObj(obj.suppression) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
CreateAlarmDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(CreateAlarmDetails = exports.CreateAlarmDetails || (exports.CreateAlarmDetails = {})); | ||
//# sourceMappingURL=create-alarm-details.js.map |
@@ -45,2 +45,3 @@ /** | ||
function getJsonObj(obj: Datapoint): object; | ||
function getDeserializedJsonObj(obj: Datapoint): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
Datapoint.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
Datapoint.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(Datapoint = exports.Datapoint || (exports.Datapoint = {})); | ||
//# sourceMappingURL=datapoint.js.map |
@@ -35,2 +35,3 @@ /** | ||
function getJsonObj(obj: FailedMetricRecord): object; | ||
function getDeserializedJsonObj(obj: FailedMetricRecord): object; | ||
} |
@@ -50,3 +50,12 @@ "use strict"; | ||
FailedMetricRecord.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"metricData": obj.metricData | ||
? model.MetricDataDetails.getDeserializedJsonObj(obj.metricData) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
FailedMetricRecord.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(FailedMetricRecord = exports.FailedMetricRecord || (exports.FailedMetricRecord = {})); | ||
//# sourceMappingURL=failed-metric-record.js.map |
@@ -93,2 +93,3 @@ /** | ||
function getJsonObj(obj: ListMetricsDetails): object; | ||
function getDeserializedJsonObj(obj: ListMetricsDetails): object; | ||
} |
@@ -37,3 +37,8 @@ "use strict"; | ||
ListMetricsDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
ListMetricsDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(ListMetricsDetails = exports.ListMetricsDetails || (exports.ListMetricsDetails = {})); | ||
//# sourceMappingURL=list-metrics-details.js.map |
@@ -87,2 +87,3 @@ /** | ||
function getJsonObj(obj: MetricDataDetails): object; | ||
function getDeserializedJsonObj(obj: MetricDataDetails): object; | ||
} |
@@ -52,3 +52,14 @@ "use strict"; | ||
MetricDataDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"datapoints": obj.datapoints | ||
? obj.datapoints.map(item => { | ||
return model.Datapoint.getDeserializedJsonObj(item); | ||
}) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
MetricDataDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(MetricDataDetails = exports.MetricDataDetails || (exports.MetricDataDetails = {})); | ||
//# sourceMappingURL=metric-data-details.js.map |
@@ -105,2 +105,3 @@ /** | ||
function getJsonObj(obj: MetricData): object; | ||
function getDeserializedJsonObj(obj: MetricData): object; | ||
} |
@@ -52,3 +52,14 @@ "use strict"; | ||
MetricData.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"aggregatedDatapoints": obj.aggregatedDatapoints | ||
? obj.aggregatedDatapoints.map(item => { | ||
return model.AggregatedDatapoint.getDeserializedJsonObj(item); | ||
}) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
MetricData.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(MetricData = exports.MetricData || (exports.MetricData = {})); | ||
//# sourceMappingURL=metric-data.js.map |
@@ -64,2 +64,3 @@ /** | ||
function getJsonObj(obj: Metric): object; | ||
function getDeserializedJsonObj(obj: Metric): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
Metric.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
Metric.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(Metric = exports.Metric || (exports.Metric = {})); | ||
//# sourceMappingURL=metric.js.map |
@@ -46,2 +46,3 @@ /** | ||
function getJsonObj(obj: PostMetricDataDetails): object; | ||
function getDeserializedJsonObj(obj: PostMetricDataDetails): object; | ||
} |
@@ -57,3 +57,14 @@ "use strict"; | ||
PostMetricDataDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"metricData": obj.metricData | ||
? obj.metricData.map(item => { | ||
return model.MetricDataDetails.getDeserializedJsonObj(item); | ||
}) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
PostMetricDataDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(PostMetricDataDetails = exports.PostMetricDataDetails || (exports.PostMetricDataDetails = {})); | ||
//# sourceMappingURL=post-metric-data-details.js.map |
@@ -35,2 +35,3 @@ /** | ||
function getJsonObj(obj: PostMetricDataResponseDetails): object; | ||
function getDeserializedJsonObj(obj: PostMetricDataResponseDetails): object; | ||
} |
@@ -52,3 +52,14 @@ "use strict"; | ||
PostMetricDataResponseDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"failedMetrics": obj.failedMetrics | ||
? obj.failedMetrics.map(item => { | ||
return model.FailedMetricRecord.getDeserializedJsonObj(item); | ||
}) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
PostMetricDataResponseDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(PostMetricDataResponseDetails = exports.PostMetricDataResponseDetails || (exports.PostMetricDataResponseDetails = {})); | ||
//# sourceMappingURL=post-metric-data-response-details.js.map |
@@ -87,2 +87,3 @@ /** | ||
function getJsonObj(obj: SummarizeMetricsDataDetails): object; | ||
function getDeserializedJsonObj(obj: SummarizeMetricsDataDetails): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
SummarizeMetricsDataDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
SummarizeMetricsDataDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(SummarizeMetricsDataDetails = exports.SummarizeMetricsDataDetails || (exports.SummarizeMetricsDataDetails = {})); | ||
//# sourceMappingURL=summarize-metrics-data-details.js.map |
@@ -53,2 +53,3 @@ /** | ||
function getJsonObj(obj: Suppression): object; | ||
function getDeserializedJsonObj(obj: Suppression): object; | ||
} |
@@ -26,3 +26,8 @@ "use strict"; | ||
Suppression.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), {}); | ||
return jsonObj; | ||
} | ||
Suppression.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(Suppression = exports.Suppression || (exports.Suppression = {})); | ||
//# sourceMappingURL=suppression.js.map |
@@ -193,2 +193,3 @@ /** | ||
function getJsonObj(obj: UpdateAlarmDetails): object; | ||
function getDeserializedJsonObj(obj: UpdateAlarmDetails): object; | ||
} |
@@ -48,3 +48,12 @@ "use strict"; | ||
UpdateAlarmDetails.getJsonObj = getJsonObj; | ||
function getDeserializedJsonObj(obj) { | ||
const jsonObj = Object.assign(Object.assign({}, obj), { | ||
"suppression": obj.suppression | ||
? model.Suppression.getDeserializedJsonObj(obj.suppression) | ||
: undefined | ||
}); | ||
return jsonObj; | ||
} | ||
UpdateAlarmDetails.getDeserializedJsonObj = getDeserializedJsonObj; | ||
})(UpdateAlarmDetails = exports.UpdateAlarmDetails || (exports.UpdateAlarmDetails = {})); | ||
//# sourceMappingURL=update-alarm-details.js.map |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartmentRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ChangeAlarmCompartment.ts.html |here} to see how to use ChangeAlarmCompartmentRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface ChangeAlarmCompartmentRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarmRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/CreateAlarm.ts.html |here} to see how to use CreateAlarmRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface CreateAlarmRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarmRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/DeleteAlarm.ts.html |here} to see how to use DeleteAlarmRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface DeleteAlarmRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistoryRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarmHistory.ts.html |here} to see how to use GetAlarmHistoryRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetAlarmHistoryRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarmRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/GetAlarm.ts.html |here} to see how to use GetAlarmRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetAlarmRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarmsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarms.ts.html |here} to see how to use ListAlarmsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListAlarmsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatusRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListAlarmsStatus.ts.html |here} to see how to use ListAlarmsStatusRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListAlarmsStatusRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/ListMetrics.ts.html |here} to see how to use ListMetricsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/ListMetrics.ts.html |here} to see how to use ListMetricsRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface ListMetricsRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricDataRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/PostMetricData.ts.html |here} to see how to use PostMetricDataRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface PostMetricDataRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppressionRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/RemoveAlarmSuppression.ts.html |here} to see how to use RemoveAlarmSuppressionRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface RemoveAlarmSuppressionRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsDataRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/SummarizeMetricsData.ts.html |here} to see how to use SummarizeMetricsDataRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface SummarizeMetricsDataRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.0/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarmRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.22.1/monitoring/UpdateAlarm.ts.html |here} to see how to use UpdateAlarmRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface UpdateAlarmRequest extends common.BaseRequest { |
{ | ||
"name": "oci-monitoring", | ||
"version": "1.22.0", | ||
"version": "1.22.1", | ||
"description": "OCI NodeJS client for Monitoring", | ||
@@ -18,4 +18,4 @@ "repository": { | ||
"dependencies": { | ||
"oci-common": "1.22.0", | ||
"oci-workrequests": "1.22.0" | ||
"oci-common": "1.22.1", | ||
"oci-workrequests": "1.22.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
399217
5673
+ Added@types/node@22.10.10(transitive)
+ Addedoci-common@1.22.1(transitive)
+ Addedoci-workrequests@1.22.1(transitive)
- Removed@types/node@22.10.9(transitive)
- Removedoci-common@1.22.0(transitive)
- Removedoci-workrequests@1.22.0(transitive)
Updatedoci-common@1.22.1
Updatedoci-workrequests@1.22.1