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

  • AbstractService
  • Catalog
  • CatalogItem
  • CatalogService
  • Endpoint
  • NovaService
  • ServiceBuilder

Interfaces

  • ServiceInterface

Class Endpoint

An endpoint serves as a location which receives and emits API interactions. It will therefore also host particular API resources. Each endpoint object has different access methods - one receives network connections over the public Internet, another receives traffic through an internal network. You will be able to access the latter from a Server, for example, in the same Region - which will incur no bandwidth charges, and be quicker.

Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/Endpoint.php

Methods summary

public static OpenCloud\Common\Service\Endpoint
# factory( $object, string $supportedServiceVersion, OpenCloud\OpenStack $client )

Parameters

$object
$supportedServiceVersion
Service version supported by the SDK
$client
OpenStack client

Returns

OpenCloud\Common\Service\Endpoint
public
# setPublicUrl( Guzzle\Http\Url $publicUrl )

Parameters

$publicUrl

Returns


$this
public Guzzle\Http\Url
# getPublicUrl( )

Returns

Guzzle\Http\Url
public
# setPrivateUrl( Guzzle\Http\Url $privateUrl )

Parameters

$privateUrl

Returns


$this
public Guzzle\Http\Url
# getPrivateUrl( )

Returns

Guzzle\Http\Url
public
# setRegion( $region )

Parameters

$region

Returns


$this
public string
# getRegion( )

Returns

string
API documentation generated by ApiGen