OpenCloud/LoadBalancer/Resources/HealthMonitor.php

Classes

HealthMonitor

Properties

 
 
No 
No 

Description

sub-resource to manage health monitor info
There are really four pieces of data that define a subresource: * `$url_resource` - the actual name of the url component * `$json_name` - the name of the JSON object holding the data * `$json_collection_name` - if the collection is not simply `$json_name . 's'`, this defines the collectio name. * `$json_collection_element` - if the object in a collection is not anonymous, this defines the name of the element holding the object. Of these, only the `$json_name` and `$url_resource` are required.

Methods

Create,

Create(   $params = array(), ) : n/a

Description

creates a new health monitor
This calls the Update() method, since it requires a PUT to create a new error page. A POST request is not supported, since the URL resource is already defined.

Arguments

Name Type Description Default
$params n/a array()

Return value

Type Description
n/a n/a

Properties

$_create_keys, $attemptsBeforeDeactivation, $bodyRegex, $delay, $hostHeader, $json_name, $path, $statusRegex, $timeout, $type, $url_resource,

  protected  $_create_keys = array('type', 'delay', 'timeout', 'attemptsBeforeDeactivation', 'bodyRegex', 'hostHeader', 'path', 'statusRegex')




  public  $attemptsBeforeDeactivation =




  public  $bodyRegex =




  public  $delay =




  public  $hostHeader =




  protected  static $json_name = 'healthMonitor'




  public  $path =




  public  $statusRegex =




  public  $timeout =




  public  $type =




  protected  static $url_resource = 'healthmonitor'




Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages