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

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

Interfaces

  • ServiceInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

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( mixed $object )

Parameters

$object
mixed
$object

Returns

OpenCloud\Common\Service\Endpoint
public mixed
# setPublicUrl( mixed $publicUrl )

Parameters

$publicUrl
mixed
$publicUrl

Returns

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

Returns

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

Parameters

$privateUrl
mixed
$privateUrl

Returns

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

Returns

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

Parameters

$region
mixed
$region

Returns

mixed
$this
public string
# getRegion( )

Returns

string
PHP OpenCloud API API documentation generated by ApiGen 2.8.0