Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • Access
  • Algorithm
  • AllowedDomain
  • BillableLoadBalancer
  • ConnectionLogging
  • ConnectionThrottle
  • ContentCaching
  • ErrorPage
  • HealthMonitor
  • LoadBalancer
  • Metadata
  • Node
  • NodeEvent
  • Protocol
  • Readonly
  • SessionPersistence
  • SSLTermination
  • Stats
  • SubResource
  • Usage
  • VirtualIp
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * PHP OpenCloud library.
 4:  * 
 5:  * @copyright Copyright 2013 Rackspace US, Inc. See COPYING for licensing information.
 6:  * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache 2.0
 7:  * @version   1.6.0
 8:  * @author    Glen Campbell <glen.campbell@rackspace.com>
 9:  * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
10:  */
11: 
12: namespace OpenCloud\LoadBalancer\Resources;
13: 
14: /**
15:  * A virtual IP (VIP) makes a load balancer accessible by clients. The load 
16:  * balancing service supports either a public VIP, routable on the public 
17:  * Internet, or a ServiceNet address, routable only within the region in which 
18:  * the load balancer resides.
19:  */
20: class VirtualIp extends SubResource 
21: {
22: 
23:     public $id;
24:     
25:     /**
26:      * IP address.
27:      * 
28:      * @var string 
29:      */
30:     public $address;
31:     
32:     /**
33:      * Either "PUBLIC" (public Internet) or "SERVICENET" (internal Rackspace network)
34:      * 
35:      * @var int 
36:      */
37:     public $type;
38:     
39:     /**
40:      * Either 4 or 6.
41:      * 
42:      * @var int 
43:      */
44:     public $ipVersion;
45: 
46:     protected static $json_collection_name = 'virtualIps';
47:     protected static $json_name = FALSE;
48:     protected static $url_resource = 'virtualips';
49:     
50:     protected $createKeys = array(
51:         'type', 
52:         'ipVersion'
53:     );
54:     
55:     public function update($params = array()) 
56:     { 
57:         return $this->noUpdate(); 
58:     }
59: 
60: }
61: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0