Class Domain
The Domain class represents a single domain
Note that the Subdomain class is defined in this same file because of
mutual dependencies.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\DNS\Resource\AbstractResource
-
OpenCloud\DNS\Resource\Domain
Direct known subclasses
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
#
addRecord(
Adds a new record to the list (for multiple record creation) |
public
integer
|
#
addSubdomain(
adds a new subdomain (for multiple subdomain creation) |
public
DNS\Changes
|
|
public
|
|
public
|
#
cloneDomain( string $newDomainName, boolean $subdomains = true, boolean $comments = true, boolean $email = true, boolean $records = true )
clones the domain to the specified target domain |
Methods inherited from OpenCloud\DNS\Resource\AbstractResource
create(),
delete(),
getCreateKeys(),
getUpdateKeys(),
update()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(),
createUrl(),
id(),
name(),
refresh(),
refreshFromLocationUrl(),
region(),
status(),
waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
parseResponse(),
resourceName(),
setMetadata(),
setParent(),
setService(),
url()
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getLogger(),
hasLogger(),
makeResourceIteratorOptions(),
populate(),
setLogger(),
stripNamespace(),
toCamel(),
toUnderscores()