Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oci-monitoring

Package Overview
Dependencies
Maintainers
4
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-monitoring - npm Package Compare versions

Comparing version 2.94.0 to 2.95.0

lib/model/alarm-suppression-compartment-target.d.ts

25

lib/client.d.ts

@@ -128,3 +128,6 @@ /**

/**
* Creates a dimension-specific suppression for an alarm.
* Creates a new alarm suppression at the specified level (alarm-wide or dimension-specific).
* For more information, see
* [Adding an Alarm-wide Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/add-alarm-suppression.htm) and
* [Adding a Dimension-Specific Alarm Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-suppression.htm).
* <p>

@@ -164,3 +167,5 @@ For important limits information, see

/**
* Deletes the specified alarm suppression.
* Deletes the specified alarm suppression. For more information, see
* [Removing an Alarm-wide Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/remove-alarm-suppression.htm) and
* [Removing a Dimension-Specific Alarm Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/delete-alarm-suppression.htm).
* <p>

@@ -218,3 +223,4 @@ For important limits information, see

/**
* Gets the specified alarm suppression.
* Gets the specified alarm suppression. For more information, see
* [Getting an Alarm-wide Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-suppression.htm).
* <p>

@@ -236,4 +242,4 @@ For important limits information, see

/**
* Lists alarm suppressions for the specified alarm.
* Only dimension-level suppressions are listed. Alarm-level suppressions are not listed.
* Lists alarm suppressions for the specified alarm. For more information, see
* [Listing Alarm Suppressions](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm).
* <p>

@@ -309,3 +315,4 @@ For important limits information, see

* Optionally filter by resource or status value.
* For more information, see
* <p>
For more information, see
* [Listing Alarm Statuses](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status.htm).

@@ -467,3 +474,4 @@ * For important limits information, see

* Optionally filter by status value and one or more dimension key-value pairs.
* For more information, see
* <p>
For more information, see
* [Listing Metric Stream Status in an Alarm](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status-metric-stream.htm).

@@ -486,3 +494,4 @@ * <p>

/**
* Returns history of suppressions for the specified alarm, including both dimension-specific and and alarm-wide suppressions.
* Returns history of suppressions for the specified alarm, including both dimension-specific and and alarm-wide suppressions. For more information, see
* [Getting Suppression History for an Alarm](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/summarize-alarm-suppression-history.htm).
* <p>

@@ -489,0 +498,0 @@ For important limits information, see

@@ -78,8 +78,9 @@ /**

/**
* The status of this alarm.
* Status is collective, across all metric streams in the alarm.
* To list alarm status for each metric stream, use {@link #retrieveDimensionStates(RetrieveDimensionStatesRequest) retrieveDimensionStates}.
* Example: {@code FIRING}
*
*/
* The status of this alarm.
* Status is collective, across all metric streams in the alarm.
* To list alarm status for each metric stream, use {@link #retrieveDimensionStates(RetrieveDimensionStatesRequest) retrieveDimensionStates}.
* <p>
Example: {@code FIRING}
*
*/
"status": AlarmStatusSummary.Status;

@@ -86,0 +87,0 @@ /**

@@ -19,3 +19,3 @@ /**

/**
* Collection of property summaries for dimension-specific alarm suppressions.
* Collection of property summaries for alarm suppressions.
*

@@ -25,3 +25,3 @@ */

/**
* List of property summaries for dimension-specific alarm suppressions.
* List of property summaries for alarm suppressions.
*

@@ -28,0 +28,0 @@ */

@@ -27,3 +27,3 @@ /**

"suppressionId": string;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget | model.AlarmSuppressionCompartmentTarget;
/**

@@ -75,2 +75,12 @@ * The level of this alarm suppression.

"timeEffectiveUntil": Date;
/**
* Array of all preconditions for alarm suppression.
* Example: {@code [{
* conditionType: \"RECURRENCE\",
* suppressionRecurrence: \"FRQ=DAILY;BYHOUR=10\",
* suppressionDuration: \"PT1H\"
* }]}
*
*/
"suppressionConditions"?: Array<model.SuppressionCondition>;
}

@@ -77,0 +87,0 @@ export declare namespace AlarmSuppressionHistoryItem {

@@ -56,2 +56,7 @@ "use strict";

? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getJsonObj(item);
})
: undefined

@@ -66,2 +71,7 @@ });

? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getDeserializedJsonObj(item);
})
: undefined

@@ -68,0 +78,0 @@ });

@@ -19,3 +19,3 @@ /**

/**
* A summary of properties for the specified dimension-specific alarm suppression.
* A summary of properties for the specified alarm suppression.
*

@@ -32,4 +32,21 @@ */

"compartmentId": string;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget | model.AlarmSuppressionCompartmentTarget;
/**
* The level of this alarm suppression.
* {@code ALARM} indicates a suppression of the entire alarm, regardless of dimension.
* {@code DIMENSION} indicates a suppression configured for specified dimensions.
*
*/
"level": string;
/**
* Array of all preconditions for alarm suppression.
* Example: {@code [{
* conditionType: \"RECURRENCE\",
* suppressionRecurrence: \"FRQ=DAILY;BYHOUR=10\",
* suppressionDuration: \"PT1H\"
* }]}
*
*/
"suppressionConditions"?: Array<model.SuppressionCondition>;
/**
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.

@@ -56,3 +73,3 @@ */

*/
"dimensions": {
"dimensions"?: {
[key: string]: string;

@@ -59,0 +76,0 @@ };

@@ -46,2 +46,7 @@ "use strict";

? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getJsonObj(item);
})
: undefined

@@ -56,2 +61,7 @@ });

? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getDeserializedJsonObj(item);
})
: undefined

@@ -58,0 +68,0 @@ });

@@ -49,2 +49,4 @@ "use strict";

return model.AlarmSuppressionAlarmTarget.getJsonObj(jsonObj, true);
case "COMPARTMENT":
return model.AlarmSuppressionCompartmentTarget.getJsonObj(jsonObj, true);
default:

@@ -64,2 +66,4 @@ if (common.LOG.logger)

return model.AlarmSuppressionAlarmTarget.getDeserializedJsonObj(jsonObj, true);
case "COMPARTMENT":
return model.AlarmSuppressionCompartmentTarget.getDeserializedJsonObj(jsonObj, true);
default:

@@ -66,0 +70,0 @@ if (common.LOG.logger)

@@ -19,3 +19,3 @@ /**

/**
* The configuration details for a dimension-specific alarm suppression.
* The configuration details for an alarm suppression.
*

@@ -32,4 +32,21 @@ */

"compartmentId": string;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget | model.AlarmSuppressionCompartmentTarget;
/**
* The level of this alarm suppression.
* {@code ALARM} indicates a suppression of the entire alarm, regardless of dimension.
* {@code DIMENSION} indicates a suppression configured for specified dimensions.
*
*/
"level": AlarmSuppression.Level;
/**
* Array of all preconditions for alarm suppression.
* Example: {@code [{
* conditionType: \"RECURRENCE\",
* suppressionRecurrence: \"FRQ=DAILY;BYHOUR=10\",
* suppressionDuration: \"PT1H\"
* }]}
*
*/
"suppressionConditions"?: Array<model.SuppressionCondition>;
/**
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.

@@ -56,3 +73,3 @@ */

*/
"dimensions": {
"dimensions"?: {
[key: string]: string;

@@ -115,2 +132,11 @@ };

export declare namespace AlarmSuppression {
enum Level {
Alarm = "ALARM",
Dimension = "DIMENSION",
/**
* This value is used if a service returns a value for this enum that is not recognized by this
* version of the SDK.
*/
UnknownValue = "UNKNOWN_VALUE"
}
enum LifecycleState {

@@ -117,0 +143,0 @@ Active = "ACTIVE",

@@ -42,2 +42,12 @@ "use strict";

(function (AlarmSuppression) {
let Level;
(function (Level) {
Level["Alarm"] = "ALARM";
Level["Dimension"] = "DIMENSION";
/**
* This value is used if a service returns a value for this enum that is not recognized by this
* version of the SDK.
*/
Level["UnknownValue"] = "UNKNOWN_VALUE";
})(Level = AlarmSuppression.Level || (AlarmSuppression.Level = {}));
let LifecycleState;

@@ -57,2 +67,7 @@ (function (LifecycleState) {

? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getJsonObj(item);
})
: undefined

@@ -67,2 +82,7 @@ });

? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getDeserializedJsonObj(item);
})
: undefined

@@ -69,0 +89,0 @@ });

@@ -19,8 +19,17 @@ /**

/**
* The configuration details for creating a dimension-specific alarm suppression.
* The configuration details for creating an alarm suppression.
*
*/
export interface CreateAlarmSuppressionDetails {
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget;
"alarmSuppressionTarget": model.AlarmSuppressionAlarmTarget | model.AlarmSuppressionCompartmentTarget;
/**
* The level of this alarm suppression.
* {@code ALARM} indicates a suppression of the entire alarm, regardless of dimension.
* {@code DIMENSION} indicates a suppression configured for specified dimensions.
* <p>
Defaut: {@code DIMENSION}
*
*/
"level"?: string;
/**
* A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.

@@ -47,3 +56,3 @@ */

* <p>
The value cannot be an empty object.
This is required only when the value of level is {@code DIMENSION}. If required, the value cannot be an empty object.
* Only a single value is allowed per key. No grouping of multiple values is allowed under the same key.

@@ -54,3 +63,3 @@ * Maximum characters (after serialization): 4000. This maximum satisfies typical use cases.

*/
"dimensions": {
"dimensions"?: {
[key: string]: string;

@@ -90,2 +99,12 @@ };

};
/**
* Array of all preconditions for alarm suppression.
* Example: {@code [{
* conditionType: \"RECURRENCE\",
* suppressionRecurrence: \"FRQ=DAILY;BYHOUR=10\",
* suppressionDuration: \"PT1H\"
* }]}
*
*/
"suppressionConditions"?: Array<model.SuppressionCondition>;
}

@@ -92,0 +111,0 @@ export declare namespace CreateAlarmSuppressionDetails {

@@ -46,2 +46,7 @@ "use strict";

? model.AlarmSuppressionTarget.getJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getJsonObj(item);
})
: undefined

@@ -56,2 +61,7 @@ });

? model.AlarmSuppressionTarget.getDeserializedJsonObj(obj.alarmSuppressionTarget)
: undefined,
"suppressionConditions": obj.suppressionConditions
? obj.suppressionConditions.map(item => {
return model.SuppressionCondition.getDeserializedJsonObj(item);
})
: undefined

@@ -58,0 +68,0 @@ });

@@ -77,2 +77,4 @@ /**

export import Suppression = Suppression.Suppression;
import * as SuppressionCondition from "./suppression-condition";
export import SuppressionCondition = SuppressionCondition.SuppressionCondition;
import * as UpdateAlarmDetails from "./update-alarm-details";

@@ -82,1 +84,5 @@ export import UpdateAlarmDetails = UpdateAlarmDetails.UpdateAlarmDetails;

export import AlarmSuppressionAlarmTarget = AlarmSuppressionAlarmTarget.AlarmSuppressionAlarmTarget;
import * as AlarmSuppressionCompartmentTarget from "./alarm-suppression-compartment-target";
export import AlarmSuppressionCompartmentTarget = AlarmSuppressionCompartmentTarget.AlarmSuppressionCompartmentTarget;
import * as Recurrence from "./recurrence";
export import Recurrence = Recurrence.Recurrence;

@@ -38,3 +38,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
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.AlarmOverride = exports.AlarmHistoryEntry = exports.AlarmHistoryCollection = exports.AlarmDimensionStatesEntry = exports.AlarmDimensionStatesCollection = exports.Alarm = exports.AggregatedDatapoint = void 0;
exports.Recurrence = exports.AlarmSuppressionCompartmentTarget = exports.AlarmSuppressionAlarmTarget = exports.UpdateAlarmDetails = exports.SuppressionCondition = 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.AlarmOverride = exports.AlarmHistoryEntry = exports.AlarmHistoryCollection = exports.AlarmDimensionStatesEntry = exports.AlarmDimensionStatesCollection = exports.Alarm = exports.AggregatedDatapoint = void 0;
const AggregatedDatapoint = __importStar(require("./aggregated-datapoint"));

@@ -100,2 +100,4 @@ exports.AggregatedDatapoint = AggregatedDatapoint.AggregatedDatapoint;

exports.Suppression = Suppression.Suppression;
const SuppressionCondition = __importStar(require("./suppression-condition"));
exports.SuppressionCondition = SuppressionCondition.SuppressionCondition;
const UpdateAlarmDetails = __importStar(require("./update-alarm-details"));

@@ -105,2 +107,6 @@ exports.UpdateAlarmDetails = UpdateAlarmDetails.UpdateAlarmDetails;

exports.AlarmSuppressionAlarmTarget = AlarmSuppressionAlarmTarget.AlarmSuppressionAlarmTarget;
const AlarmSuppressionCompartmentTarget = __importStar(require("./alarm-suppression-compartment-target"));
exports.AlarmSuppressionCompartmentTarget = AlarmSuppressionCompartmentTarget.AlarmSuppressionCompartmentTarget;
const Recurrence = __importStar(require("./recurrence"));
exports.Recurrence = Recurrence.Recurrence;
//# sourceMappingURL=index.js.map

@@ -18,8 +18,9 @@ /**

/**
* The configuration details for an alarm-wide suppression.
* For dimension-specific suppressions, see {@link AlarmSuppression}.
* For information about alarms, see
* [Alarms Overview](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview).
*
*/
* The configuration details for an alarm-wide suppression.
* For dimension-specific suppressions, see {@link AlarmSuppression}.
* <p>
For information about alarms, see
* [Alarms Overview](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview).
*
*/
export interface Suppression {

@@ -26,0 +27,0 @@ /**

@@ -19,6 +19,2 @@ /**

/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
*/
"alarmId": string;
/**
* Customer part of the request identifier token. If you need to contact Oracle about a particular

@@ -30,4 +26,8 @@ * request, please provide the complete request ID.

/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
*/
"alarmId"?: string;
/**
* A filter to return only resources that match the given display name exactly.
* Use this filter to list a alarm suppression by name.
* Use this filter to list an alarm suppression by name.
* Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.

@@ -43,2 +43,47 @@ *

/**
* The level of this alarm suppression.
* {@code ALARM} indicates a suppression of the entire alarm, regardless of dimension.
* {@code DIMENSION} indicates a suppression configured for specified dimensions.
*
*/
"level"?: string;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching.
* Use the tenancy OCID to search in the root compartment.
* <p>
If targetType is not specified, searches all suppressions defined under the compartment.
* If targetType is {@code COMPARTMENT}, searches suppressions in the specified compartment only.
* <p>
Example: {@code ocid1.compartment.oc1..exampleuniqueID}
*
*/
"compartmentId"?: string;
/**
* When true, returns resources from all compartments and subcompartments. The parameter can
* only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment).
* A true value requires the user to have tenancy-level permissions. If this requirement is not met,
* then the call is rejected. When false, returns resources from only the compartment specified in
* compartmentId. Default is false.
*
*/
"compartmentIdInSubtree"?: boolean;
/**
* The target type to use when listing alarm suppressions.
* {@code ALARM} lists all suppression records for the specified alarm.
* {@code COMPARTMENT} lists all suppression records for the specified compartment or tenancy.
*
*/
"targetType"?: ListAlarmSuppressionsRequest.TargetType;
/**
* Setting this parameter to true requires the query to specify the alarm ({@code alarmId}).
* <p>
When true, lists all alarm suppressions that affect the specified alarm,
* including suppressions that target the corresponding compartment or tenancy.
* When false, lists only the alarm suppressions that target the specified alarm.
* <p>
Default is false.
*
*/
"isAllSuppressions"?: boolean;
/**
* The field to use when sorting returned alarm suppressions. Only one sorting level is provided.

@@ -77,2 +122,6 @@ * <p>

export declare namespace ListAlarmSuppressionsRequest {
enum TargetType {
Alarm = "ALARM",
Compartment = "COMPARTMENT"
}
enum SortBy {

@@ -79,0 +128,0 @@ DisplayName = "displayName",

@@ -18,2 +18,7 @@ "use strict";

(function (ListAlarmSuppressionsRequest) {
let TargetType;
(function (TargetType) {
TargetType["Alarm"] = "ALARM";
TargetType["Compartment"] = "COMPARTMENT";
})(TargetType = ListAlarmSuppressionsRequest.TargetType || (ListAlarmSuppressionsRequest.TargetType = {}));
let SortBy;

@@ -20,0 +25,0 @@ (function (SortBy) {

{
"name": "oci-monitoring",
"version": "2.94.0",
"version": "2.95.0",
"description": "OCI NodeJS client for Monitoring",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "2.94.0",
"oci-workrequests": "2.94.0"
"oci-common": "2.95.0",
"oci-workrequests": "2.95.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc