Method: CloudControl::API::VIP#probe_create

Defined in:
lib/cloudcontrol/api/vip.rb

#probe_createObject

Note this is for TCP, UDP & ICMP only additional xml fields need to be added to be complete Examples name = Probe1, type = TCP, probeIntervalSeconds = “60”, errorCountBeforeServerFail = “5” maxReplyWaitSeconds = “10”



38
39
40
41
42
# File 'lib/cloudcontrol/api/vip.rb', line 38

def probe_create
  org_endpoint "/network/#{network_id}/probe"
  xml_params(name: name, type: type, probeIntervalSeconds: probeIntervalSeconds, errorCountBeforeServerFail: errorCountBeforeServerFail, successCountBeforeServerEnable: successCountBeforeServerEnable, failedProbeIntervalSeconds: failedProbeIntervalSeconds, maxReplyWaitSeconds: maxReplyWaitSeconds)
  post
end