Updates an alarm.
PUT {{baseUrl}}/alarms/:alarmId
Updates the specified alarm. For important limits information, see Limits on Monitoring.
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
Request Body
{"body"=>"sit id sunt dolor non", "compartmentId"=>"{{compartment_ocid}}", "destinations"=>["do labore", "eu commodo"], "displayName"=>"tempor nostrud Duis irure pariatur", "isEnabled"=>true, "metricCompartmentId"=>"lab", "metricCompartmentIdInSubtree"=>true, "namespace"=>"ex enim", "pendingDuration"=>"consectetur adipisicing", "query"=>"in fugiat reprehenderit do", "repeatNotificationDuration"=>"occaecat", "resolution"=>"dolore", "resourceGroup"=>"commod", "severity"=>"cillum labore", "suppression"=>{"timeSuppressFrom"=>"1949-03-18T16:13:14.000Z", "timeSuppressUntil"=>"1962-10-09T22:56:10.031Z", "description"=>"reprehenderit in dolore"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
opc-request-id | string | Customer part of the request identifier token. If you need to contact Oracle about a particular | |
request, please provide the complete request ID. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"compartmentId":"veniam","destinations":["reprehenderit aute in magna"],"displayName":"sit","id":"Lorem qui ex veniam proident","isEnabled":true,"lifecycleState":"DELETED","metricCompartmentId":"reprehenderit nostrud est","namespace":"cupidatat tempor aliquip elit","query":"fugiat","severity":"INFO","timeCreated":"1944-02-22T03:18:34.935Z","timeUpdated":"1988-11-03T02:58:13.311Z","body":"labore id","definedTags":{},"freeformTags":{},"metricCompartmentIdInSubtree":true,"pendingDuration":"nostrud","repeatNotificationDuration":"incididunt ea","resolution":"in nostrud sed aute","resourceGroup":"nulla aliqua commodo sed","suppression":{"timeSuppressFrom":"2004-03-12T05:00:19.371Z","timeSuppressUntil":"1953-09-18T23:32:40.152Z","description":"sit aute"}}