SoftLayer Software Component HostIps::updateHipsPolicies

From SoftLayer Development Network Wiki

Jump to: navigation, search

updateHipsPolicies is a member of the SoftLayer_Software_Component_HostIps service.

Contents

Overview

Update the Host IPS policies. To retrieve valid policy options you must use the provided relationships.

Return Type

updateHipsPolicies returns the boolean data type.

Headers

Required Headers

updateHipsPolicies requires the following headers:

Parameters

updateHipsPolicies takes the following parameters:

newIpsMode

IPS mode setting to be updated.

  • Type: string



newIpsProtection

IPS protection setting to be updated

  • Type: string



newFirewallMode

Firewall mode setting to be updated

  • Type: string



newFirewallRuleset

Firewall rule set setting to be updated

  • Type: string



newApplicationMode

Application mode setting to be updated

  • Type: string



newApplicationRuleset

Application rule set setting to be updated

  • Type: string

Error Handling

updateHipsPolicies throws the following exceptions:

  • SoftLayer_Exception_Software_Component_Mcafee_AntivirusPolicyUpdateInProgress
Throws the error "A host ips policy update may only take place if a previous anti-virus/spyware policy update has finished."
  • SoftLayer_Exception_Software_Component_Mcafee_InvalidPolicyUpdateResponseCode
Throws the error "The host ips policy update page returned a failed response code."
  • SoftLayer_Exception_Software_Component_Mcafee_PolicyUpdateFailure
Throws the error "The host ips policies could not be updated at this time."

See Also

Personal tools