Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • 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\Resource;
13: 
14: /**
15:  * The access list management feature allows fine-grained network access 
16:  * controls to be applied to the load balancer's virtual IP address. A single IP 
17:  * address, multiple IP addresses, or entire network subnets can be added as a 
18:  * networkItem. Items that are configured with the ALLOW type will always take 
19:  * precedence over items with the DENY type. To reject traffic from all items 
20:  * except for those with the ALLOW type, add a networkItem with an address of 
21:  * "0.0.0.0/0" and a DENY type.
22:  */
23: class Access extends SubResource 
24: {
25: 
26:     public $id;
27:     
28:     /**
29:      * Type of item to add:
30:      * ALLOW - Specifies items that will always take precedence over items with 
31:      *  the DENY type.
32:      * DENY - Specifies items to which traffic can be denied.
33:      * 
34:      * @var string 
35:      */
36:     public $type;
37:     
38:     /**
39:      * IP address for item to add to access list.
40:      * 
41:      * @var string 
42:      */
43:     public $address;
44:     
45:     protected static $json_name = "accessList";
46:     protected static $url_resource = "accesslist";
47:     protected $createKeys = array(
48:         'type', 
49:         'address'
50:     );
51: 
52:     public function update($params = array()) 
53:     { 
54:         return $this->noUpdate(); 
55:     }
56: 
57: }
58: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0