# Class AgentTarget

Agent class.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\CloudMonitoring\Resource\AbstractResource
  OpenCloud\CloudMonitoring\Resource\ReadOnlyResource
  OpenCloud\CloudMonitoring\Resource\AgentTarget

Namespace: OpenCloud\CloudMonitoring\Resource
Located at OpenCloud/CloudMonitoring/Resource/AgentTarget.php

Methods summary
`public mixed` | # `getUrl( null $path = null, array $query = array() )` Get this resource's URL Get this resource's URL #### Parameters $path `null` $path URI path to add on $query `array` $query Query to add on #### Returns `mixed` #### Overrides `OpenCloud\Common\Resource\BaseResource::getUrl()`
`public` | # `setType( mixed $type )`
`public` | # `getType( )`

Methods inherited from OpenCloud\CloudMonitoring\Resource\ReadOnlyResource
`create(), delete(), update()`

Methods inherited from OpenCloud\CloudMonitoring\Resource\AbstractResource
`createJson(), listAll(), test(), testParams(), updateJson()`

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

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), 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 static string` | $json_name | `'targets'` | #
`protected static string` | $json_collection_name | `'targets'` | #
`protected static string` | $url_resource | `'targets'` | #
`protected array` | $allowedTypes | `array( 'agent.filesystem', 'agent.memory', 'agent.load_average', 'agent.cpu', 'agent.disk', 'agent.network', 'agent.plugin' )` | #

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

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