# Class VirtualIp

A virtual IP (VIP) makes a load balancer accessible by clients. The load balancing service supports either a public VIP, routable on the public Internet, or a ServiceNet address, routable only within the region in which the load balancer resides.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\LoadBalancer\Resource\AbstractResource
  OpenCloud\LoadBalancer\Resource\NonIdUriResource
  OpenCloud\LoadBalancer\Resource\VirtualIp

Namespace: OpenCloud\LoadBalancer\Resource
Located at OpenCloud/LoadBalancer/Resource/VirtualIp.php

Methods summary
`public Guzzle\Http\Message\Response` | # `update( array $params = array() )` Update a resource Update a resource #### Parameters $params `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::update()`

Methods inherited from OpenCloud\LoadBalancer\Resource\NonIdUriResource
`refresh()`

Methods inherited from OpenCloud\LoadBalancer\Resource\AbstractResource
`createJson(), refreshFromParent(), updateJson()`

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

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), 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
`public mixed` | $id | `` | #
`public string` | $address | `` | # IP address. IP address.
`public integer` | $type | `` | # Either "PUBLIC" (public Internet) or "SERVICENET" (internal Rackspace network) Either "PUBLIC" (public Internet) or "SERVICENET" (internal Rackspace network)
`public integer` | $ipVersion | `` | # Either 4 or 6. Either 4 or 6.
`protected static string` | $json_collection_name | `'virtualIps'` | #
`protected static boolean` | $json_name | `false` | #
`protected static string` | $url_resource | `'virtualips'` | #
`public array` | $createKeys | `array( 'type', 'ipVersion' )` | #

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

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