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

  • AbstractResource
  • Account
  • Agent
  • AgentConnection
  • AgentHost
  • AgentHostInfo
  • AgentTarget
  • AgentToken
  • Alarm
  • Changelog
  • Check
  • CheckType
  • Entity
  • Metric
  • Notification
  • NotificationHistory
  • NotificationPlan
  • NotificationType
  • ReadonlyResource
  • View
  • Zone

Interfaces

  • ResourceInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: 
 3: namespace OpenCloud\CloudMonitoring\Resource;
 4: 
 5: /**
 6:  * ReadonlyResource class.
 7:  * 
 8:  * @extends AbstractResource
 9:  */
10: class ReadonlyResource extends AbstractResource
11: {
12:     
13:     public function create($params = array()) 
14:     { 
15:         return $this->noCreate(); 
16:     }
17: 
18:     public function update($params = array()) 
19:     { 
20:         return $this->noUpdate(); 
21:     }
22: 
23:     public function delete($params = array()) 
24:     { 
25:         return $this->noDelete(); 
26:     }
27: 
28: }
PHP OpenCloud API API documentation generated by ApiGen 2.8.0