OpenCloud/LoadBalancer/Resources/ErrorPage.php

Classes

ErrorPage

Properties

 
 
No 
No 

Description

The /loadbalancer/{id}/errorpage manages the error page for the load balancer.
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 error page
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, $content, $json_name, $url_resource,

  protected  $_create_keys = array('content')




  public  $content =




  protected  static $json_name = 'errorpage'




  protected  static $url_resource = 'errorpage'




Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages