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.
In this document:
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"
}
}
}
NAME | TYPE | ATTRIBUTES | DEFAULT | DESCRIPTION |
---|---|---|---|---|
name | String | Not Required | Service name. | |
status | String | Not Required | Application specific service status. |
NAME | TYPE | REQUIRED | DESCRIPTION |
---|---|---|---|
domain | HostedDomain | Yes | Domain this service is bound to. |