updateAll alert

Updates all alerts.

See Also

update alert

"Disk Space Management: Quotas and Alerts"

Syntax

updateAll alert --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--NOT_FOUND_METHOD=action]

or

updateAll alert -i xml_filename -a method [-t action]

Parameters

xml_filename

Path to the XML document that configures the object. See alert.

method

Method to use when updating the properties of an object:

  • overwrite: Replaces the existing property values with the new values.

action

Action to take when an object does not exist:

  • create: A new object is created from the XML description and processing continues.

  • error: The command fails with an error. (Default)

  • ignore: The new description is ignored and processing continues.

Example

This example updates the status of all alerts described in alert_update.xml:

SES>updateAll alert --INPUT_FILE=alert_update.xml --UPDATE_METHOD=overwrite
 
updateAll operation succeeded for type "alert".
 
  2 object(s) with status UPDATE_SUCCEEDED