Application Packaging Standard

Last updated 18-Mar-2019

HostService

This APS type represents a service attached to service nodes (also known as hosts).

Schema

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

{
  "name": "HostService",
  "id": "http://www.parallels.com/pa/pa-core-services/host-management/HostService/1.0",
  "apsVersion": "2.0",
  "implements": [
    "http://aps-standard.org/types/core/resource/1.0"
  ],
  "relations": {
    "subscription": {
      "type": "http://aps-standard.org/types/core/subscription/1.0"
    }
  },
  "properties": {
    "hosts": {
      "type": "array",
      "description": "Service hosts",
      "items": {
        "type": "string"
      }
    },
    "serviceName": {
      "type": "string",
      "description": "Service name",
      "required": true
    },
    "serviceDescription": {
      "type": "string",
      "description": "Service description",
      "required": true
    }
  }
}

Properties

NAME TYPE ATTRIBUTES DEFAULT DESCRIPTION
hosts String array Not Required   A list of the service nodes the service is attached to.
serviceDescription String Required   Description of the service.
serviceName String Required   Name of the service.

Relationship

NAME TYPE REQUIRED DESCRIPTION
subscription Subscription No Relationship with the subscription.

Examples

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