# Class Resource

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\Orchestration\Resource

Namespace: OpenCloud\Orchestration
CodeCoverageIgnore
Located at OpenCloud/Orchestration/Resource.php

Methods summary
`public Guzzle\Http\Message\Response` | # `create( array $info = null )` Create a new resource Create a new resource #### Parameters $info `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::create()`
`protected string` | # `primaryKeyField( )` Returns the primary key field for the object Returns the primary key field for the object #### Returns `string` #### Overrides `OpenCloud\Common\Resource\BaseResource::primaryKeyField()`
`public` | # `type( )`
`public` | # `get( )`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), createJson(), delete(), getAlias(), noCreate(), noDelete(), noUpdate(), refresh(), refreshFromLocationUrl(), update(), updateJson(), 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
`protected mixed` | $links | `` | #
`protected mixed` | $logical_resource_id | `` | #
`protected mixed` | $physical_resource_id | `` | #
`protected mixed` | $resource_status | `` | #
`protected mixed` | $resource_status_reason | `` | #
`protected mixed` | $resource_type | `` | #
`protected mixed` | $updated_time | `` | #
`protected static string` | $url_resource | `'resources'` | #
`protected static string` | $json_name | `'resource'` | #

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

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