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

  • AbstractSchemaResource
  • Image
  • Member

Interfaces

  • ImageInterface

Class Image

Class that represents a Glance Image. In more general terms, a virtual machine image is a single file which contains a virtual disk that has an installed bootable operating system. In the Cloud Images API, an image is represented by a JSON-encoded data structure (the image schema) and its raw binary data (the image file).

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Image\Resource\AbstractSchemaResource implements ArrayAccess
Extended by OpenCloud\Image\Resource\Image implements OpenCloud\Image\Resource\ImageInterface
Namespace: OpenCloud\Image\Resource
Package: OpenCloud\Images\Resource
Located at OpenCloud/Image/Resource/Image.php

Methods summary

public Guzzle\Http\Message\Response
# update( array $params, OpenCloud\Image\Resource\Schema\Schema $schema = null )

Update this resource

Update this resource

Parameters

$params
$schema

Returns

Guzzle\Http\Message\Response

Throws

RuntimeException
public Guzzle\Http\Message\Response
# refresh( )

Refresh this resource

Refresh this resource

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# delete( )

Delete this resource

Delete this resource

Returns

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

List the members of this image

List the members of this image

Parameters

$params

Returns

mixed
public mixed
# member( $data )

Iterator use only

Iterator use only

Parameters

$data

Returns

mixed
public mixed
# getMember( $memberId )

Get a member belonging to this image

Get a member belonging to this image

Parameters

$memberId

Returns

mixed
public Guzzle\Http\Message\Response
# createMember( $tenantId )

Add a member to this image

Add a member to this image

Parameters

$tenantId

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# deleteMember( $tenantId )

Delete a member from this image

Delete a member from this image

Parameters

$tenantId

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# addTag( string $tag )

Add a tag to this image

Add a tag to this image

Parameters

$tag

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# deleteTag( $tag )

Delete a tag from this image

Delete a tag from this image

Parameters

$tag

Returns

Guzzle\Http\Message\Response

Methods inherited from OpenCloud\Image\Resource\AbstractSchemaResource

getData(), getId(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setData(), setId()

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

API documentation generated by ApiGen