Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • AbstractResource
  • Access
  • Algorithm
  • AllowedDomain
  • ConnectionLogging
  • ConnectionThrottle
  • ContentCaching
  • ErrorPage
  • HealthMonitor
  • LoadBalancer
  • Metadata
  • Node
  • NodeEvent
  • NonIdUriResource
  • Protocol
  • ReadOnlyResource
  • SessionPersistence
  • SSLTermination
  • Stats
  • UsageRecord
  • VirtualIp
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class UsageRecord

Reports all usage for a Load Balancer recorded within the preceding 24 hours.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\LoadBalancer\Resource\AbstractResource
Extended by OpenCloud\LoadBalancer\Resource\ReadOnlyResource
Extended by OpenCloud\LoadBalancer\Resource\UsageRecord
Namespace: OpenCloud\LoadBalancer\Resource
Located at OpenCloud/LoadBalancer/Resource/UsageRecord.php
Methods summary
public Guzzle\Http\Message\Response
# refresh( null $id = null, null $url = null )

Refresh the state of a resource

Refresh the state of a resource

Parameters

$id
null
$id
$url
null
$url

Returns

Guzzle\Http\Message\Response

Throws

IdRequiredError

Overrides

OpenCloud\LoadBalancer\Resource\AbstractResource::refresh()
Methods inherited from OpenCloud\LoadBalancer\Resource\ReadOnlyResource
create(), delete(), update()
Methods inherited from OpenCloud\LoadBalancer\Resource\AbstractResource
createJson(), refreshFromParent(), updateJson()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(), getAlias(), noCreate(), noDelete(), noUpdate(), refreshFromLocationUrl(), waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Properties summary
public mixed $id
#
public mixed $averageNumConnections
#
public integer $incomingTransfer
#

Incoming transfer in bytes.

Incoming transfer in bytes.

public integer $outgoingTransfer
#

Outgoing transfer in bytes.

Outgoing transfer in bytes.

public mixed $averageNumConnectionsSsl
#
public mixed $incomingTransferSsl
#
public mixed $outgoingTransferSsl
#
public mixed $numVips
#
public mixed $numPolls
#
public mixed $startTime
#
public mixed $endTime
#
public mixed $vipType
#
public mixed $sslMode
#
public mixed $eventType
#
protected static string $json_name 'loadBalancerUsageRecord'
#
protected static string $url_resource 'usage'
#
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0