API Guide

)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_email_alerts
API string/Method: idrac.config_mgr.configure_email_alerts
Protocol Support: Redfish.
Description: The idrac.cong_mgr.congure_email_alerts() allows you to congure email alerts Settings.
Table 106. Parameters for idrac.cong_mgr.congure_email_alerts
Parameter Name Type Allowed Values
alert_number
Number Alert number
Description Congure up to 4 email destinations that can be set to receive alerts.
Table 107. Parameters for idrac.cong_mgr.congure_email_alerts
Parameter Name Type Allowed Values
state
Enum
Enable_EmailAlertTypes.Enabled
Enable_EmailAlertTypes.Disabled
Description Congure to receive the alerts, select this option.
Table 108. Parameters for idrac.cong_mgr.congure_email_alerts
Parameter Name Type Allowed Values
address
String Destination email Address
Description Enter the email address that must receive the alerts.
Table 109. Parameters for idrac.cong_mgr.congure_email_alerts
Parameter Name Type Allowed Values
custom_message
String Custom Message
Description Allows you to enter a custom email message.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
mount_point='Z:\', isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
idrac.config_mgr.configure_email_alerts
(
alert_number = 4, state=Enable_EmailAlertTypes.Enabled,
46
OpenManage Python SDK API introduction