# Class LaunchConfiguration

This configuration specifies what to do when we want to create a new server. What image to boot, on what flavor, and which load balancer to connect it to.

The Launch Configuration Contains:

- Launch Configuration Type (Only type currently supported is "launch_server")
- Arguments: - Server - name - flavor - imageRef (This is the ID of the Cloud Server image you will boot) - Load Balancer - loadBalancerId - port

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\Autoscale\Resource\AbstractResource
  OpenCloud\Autoscale\Resource\LaunchConfiguration

Namespace: OpenCloud\Autoscale\Resource
Link: https://github.com/rackerlabs/otter/blob/master/doc/getting_started.rst
Link: http://docs.autoscale.apiary.io/
Located at OpenCloud/Autoscale/Resource/LaunchConfiguration.php

Methods summary
`public Guzzle\Http\Message\Response` | # `create( array $params = array() )` Create a new resource Create a new resource #### Parameters $params `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::create()`
`public Guzzle\Http\Message\Response` | # `delete( )` Delete this resource Delete this resource #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::delete()`

Methods inherited from OpenCloud\Autoscale\Resource\AbstractResource
`createJson(), primaryKeyField(), updateJson()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), getAlias(), noCreate(), noDelete(), noUpdate(), refresh(), refreshFromLocationUrl(), update(), waitFor()`

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), resourceName(), setMetadata(), setParent(), setService()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public mixed` | $type | `` | #
`public mixed` | $args | `` | #
`protected static string` | $json_name | `'launchConfiguration'` | #
`protected static string` | $url_resource | `'launch'` | #
`public array` | $createKeys | `array( 'type', 'args' )` | # 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`

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$metadata, $parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`