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:  * Reports all usage for a Load Balancer recorded within the preceding 24 hours.
16:  */
17: class Usage extends Readonly 
18: {
19:     
20:     public $id;
21:     public $averageNumConnections;
22:     
23:     /**
24:      * Incoming transfer in bytes.
25:      * 
26:      * @var int 
27:      */
28:     public $incomingTransfer;
29:     
30:     /**
31:      * Outgoing transfer in bytes.
32:      * 
33:      * @var int 
34:      */
35:     public $outgoingTransfer;
36:     public $averageNumConnectionsSsl;
37:     public $incomingTransferSsl;
38:     public $outgoingTransferSsl;
39:     public $numVips;
40:     public $numPolls;
41:     public $startTime;
42:     public $endTime;
43:     public $vipType;
44:     public $sslMode;
45:     public $eventType;
46: 
47:     protected static $json_name = 'loadBalancerUsageRecord';
48:     protected static $url_resource = 'usage';
49: 
50: }
51: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0