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

  • AbstractResource
  • Group
  • GroupConfiguration
  • LaunchConfiguration
  • ScalingPolicy
  • Webhook
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class ScalingPolicy

Description of ScalingPolicy

OpenCloud\Common\Base
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\Autoscale\Resource\AbstractResource
Extended by OpenCloud\Autoscale\Resource\ScalingPolicy
Namespace: OpenCloud\Autoscale\Resource
Link
Located at OpenCloud/Autoscale/Resource/ScalingPolicy.php
Methods summary
public
# getWebhookList( )
public
# getWebhook( mixed $id = null )
public
# webhook( mixed $info )
public
# execute( )
Methods inherited from OpenCloud\Autoscale\Resource\AbstractResource
createJson(), resource(), updateJson(), url()
Methods inherited from OpenCloud\Common\PersistentObject
__construct(), __set(), action(), checkExtension(), create(), createUrl(), customAction(), delete(), findLink(), getParent(), getService(), id(), jsonCollectionElement(), jsonCollectionName(), jsonName(), name(), noCreate(), noDelete(), noUpdate(), parent(), primaryKeyField(), refresh(), region(), resourceName(), service(), setParent(), setService(), status(), update(), waitFor()
Methods inherited from OpenCloud\Common\Base
checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Properties summary
public mixed $id
#
public mixed $links
#
public mixed $name
#
public mixed $change
#
public mixed $cooldown
#
public mixed $type
#
public mixed $metadata
#
protected static string $json_name 'policy'
#
protected static string $json_collection_name 'policies'
#
protected static string $url_resource 'policies'
#
protected static string $json_collection_element 'data'
#
public array $createKeys array( 'name', 'change', 'cooldown', 'type' )
#

These are used to set the object used for JSON encode.

These are used to set the object used for JSON encode.

Properties inherited from OpenCloud\Autoscale\Resource\AbstractResource
$associatedCollections, $associatedResources
PHP OpenCloud API API documentation generated by ApiGen 2.8.0