Overview
  • Namespace
  • Class

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CDN
      • Resource
    • CloudMonitoring
      • Collection
      • 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
      • Collection
      • Enum
      • Resource
    • Networking
      • Resource
    • ObjectStore
      • Constants
      • Enum
      • Exception
      • Resource
      • Upload
    • Orchestration
      • Resource
    • Queues
      • Collection
      • Exception
      • Resource
    • Volume
      • Resource

Classes

  • Flavor
  • Image
  • KeyPair
  • Network
  • Server
  • ServerMetadata
  • VolumeAttachment

Class VolumeAttachment

The VolumeAttachment class represents a volume that is attached to a server.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\Compute\Resource\VolumeAttachment
Namespace: OpenCloud\Compute\Resource
Located at OpenCloud/Compute/Resource/VolumeAttachment.php

Methods summary

public Guzzle\Http\Message\Response
# update( array $params = array() )

updates are not permitted

updates are not permitted

Parameters

$params

Returns

Guzzle\Http\Message\Response

Throws

OpenCloud\UpdateError
always

Overrides

OpenCloud\Common\Resource\PersistentResource::update
public string
# name( )

returns a readable name for the attachment

returns a readable name for the attachment

Since there is no 'name' attribute, we'll hardcode something

Returns

string

Throws

NameError

Api

Overrides

OpenCloud\Common\Resource\PersistentResource::name

Methods inherited from OpenCloud\Common\Resource\PersistentResource

checkExtension(), create(), createUrl(), delete(), id(), refresh(), refreshFromLocationUrl(), region(), status(), waitFor()

Methods inherited from OpenCloud\Common\Resource\BaseResource

__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), resourceName(), setMetadata(), setParent(), setService(), url()

Methods inherited from OpenCloud\Common\Base

__call(), checkJsonError(), generateUuid(), getInstance(), getLogger(), hasLogger(), makeResourceIteratorOptions(), populate(), setLogger(), stripNamespace(), toCamel(), toUnderscores()

Constants summary

Constants inherited from OpenCloud\Common\Base

PATCH_CONTENT_TYPE

Properties summary

public $id
#
public $device
#
public $serverId
#
public $volumeId
#
public static string $json_name
# 'volumeAttachment'
public static string $url_resource
# 'os-volume_attachments'
API documentation generated by ApiGen