Application Packaging Standard

Last updated 18-Mar-2019

DomainService

If an application provides a service that requires some operations with domains, the resources of this service should implement the Domain Service type as illustrated in the DNS Management demo project.

Schema

The considered APS type (download) extends the DomainService APS type(s) and looks as follows:

{
  "name": "DomainService",
  "id": "http://www.parallels.com/pa/pa-core-services/domain-management/DomainService/1.0",
  "apsVersion": "2.0",
  "implements": [
    "http://aps-standard.org/types/dns/domain/service/1.0"
  ],
  "relations": {
    "domain": {
      "type": "http://aps-standard.org/types/dns/zone/1.0",
      "required": true
    }
  },
  "properties": {
    "name": {
      "type": "string",
      "description": "Name"
    },
    "status": {
      "type": "string",
      "description": "Status"
    }
  }
}

Properties

NAME TYPE ATTRIBUTES DEFAULT DESCRIPTION
name String Not Required   Service name.
status String Not Required   Application specific service status.

Relationship

NAME TYPE REQUIRED DESCRIPTION
domain HostedDomain Yes Domain this service is bound to.

Examples

Please find general description of create-read-update-delete (CRUD) operations with resources, properties, and structures respectively at: