Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • AbstractResource
  • AsyncResponse
  • Domain
  • PtrRecord
  • Record
  • Subdomain

Interfaces

  • HasPtrRecordsInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Subdomain

The Subdomain is basically another domain, albeit one that is a child of a parent domain. In terms of the code involved, the JSON is slightly different than a top-level domain, and the parent is a domain instead of the DNS service itself.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\DNS\Resource\AbstractResource
Extended by OpenCloud\DNS\Resource\Domain
Extended by OpenCloud\DNS\Resource\Subdomain
Namespace: OpenCloud\DNS\Resource
Located at OpenCloud/DNS/Resource/Subdomain.php
Methods inherited from OpenCloud\DNS\Resource\Domain
addRecord(), addSubdomain(), changes(), cloneDomain(), createJson(), export(), record(), recordList(), subdomain(), subdomainList()
Methods inherited from OpenCloud\DNS\Resource\AbstractResource
create(), delete(), getCreateKeys(), getUpdateKeys(), update(), 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(), 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
protected static boolean $json_name false
#
protected static string $json_collection_name 'domains'
#
protected static string $url_resource 'subdomains'
#
Properties inherited from OpenCloud\DNS\Resource\Domain
$accountId, $comment, $createKeys, $created, $emailAddress, $id, $name, $ttl, $updateKeys, $updated
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0