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

  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Service

The Autoscale class represents the OpenStack Otter service.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service
Extended by OpenCloud\Autoscale\Service
Namespace: OpenCloud\Autoscale
Located at OpenCloud/Autoscale/Service.php
Methods summary
public
# __construct( OpenCloud\OpenStack $conn, string $serviceName, string $serviceRegion, string $urltype, string $customEndpoint = null )

Called when creating a new Autoscale service object

Called when creating a new Autoscale service object

_NOTE_ that the order of parameters for this is different from the parent Service class. This is because the earlier parameters are the ones that most typically change, whereas the later ones are not modified as often.

Parameters

$conn
OpenCloud\OpenStack
$conn - a connection object
$serviceName
string
$serviceRegion - identifies the region of this Compute service
$serviceRegion
string
$urltype - identifies the URL type ("publicURL", "privateURL")
$urltype
string
$serviceName - identifies the name of the service in the catalog
$customEndpoint
string
$urltype - the specified URL from the catalog (e.g., "publicURL")

Overrides

OpenCloud\Common\Service::__construct()
public AbstractResource
# group( mixed $info = null )

Convenience method for getting an autoscale group.

Convenience method for getting an autoscale group.

Parameters

$info
mixed
$info

Returns

AbstractResource
public OpenCloud\Common\Collection
# groupList( )

Convenience method for getting a list of autoscale groups.

Convenience method for getting a list of autoscale groups.

Returns

OpenCloud\Common\Collection
Methods inherited from OpenCloud\Common\Service
collection(), extensions(), getConnection(), getCurrentNamespace(), getResources(), limits(), name(), namespaces(), region(), request(), resolveResourceClass(), resource(), resourceList(), setConnection(), url()
Methods inherited from OpenCloud\Common\Base
__set(), checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Properties summary
public array $resources array( 'Group', 'GroupConfiguration', 'LaunchConfiguration', 'ScalingPolicy' )
#

Autoscale resources.

Autoscale resources.

Properties inherited from OpenCloud\Common\Service
$_namespaces, $conn
PHP OpenCloud API API documentation generated by ApiGen 2.8.0