# Class AllowedDomain

The allowed domains are restrictions set for the allowed domain names used for adding load balancer nodes. In order to submit a domain name as an address for the load balancer node to add, the user must verify that the domain is valid by using the List Allowed Domains call.

Note that this is actually a sub-resource of the load balancers service, and not of the load balancer object. It's included here for convenience, since it matches the pattern of the other LB subresources.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\LoadBalancer\Resource\AbstractResource
  OpenCloud\LoadBalancer\Resource\ReadOnlyResource
  OpenCloud\LoadBalancer\Resource\AllowedDomain

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

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

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

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), 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` | $name | `` | #
`protected static string` | $json_name | `'allowedDomain'` | #
`protected static string` | $json_collection_name | `'allowedDomains'` | #
`protected static string` | $json_collection_element | `'allowedDomain'` | #
`protected static string` | $url_resource | `'loadbalancers/alloweddomains'` | #

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

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