instance-powerdns-input-schema.json 2.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",

  "title": "Input Parameters",
  "properties": {

    "-dns-type": {
      "title": "DNS Software type",
      "description": "Software type of DNS nodes",
      "default": "single-default",
      "type": "string"
    },

    "-dns-software-release-url": {
      "title": "DNS Software Release",
      "description": "Url of the software release to be used for the nodes",
      "default": "",
      "type": "string"
    },

    "-dns-quantity": {
      "title": "DNS Quantity",
      "description": "DNS Nodes Quantity",
      "default": 1,
      "type": "integer"
    },

    "-dns-i-state": {
      "title": "Requested state of node i",
      "description": "Requested State of node i of the replication. i must inferior or equal to '-dns-quantity'",
      "default": "started",
      "type": "string"
    },

    "-sla-i-sla_parameter": {
      "title": "sla_parameter used to request node i",
      "description": "Parameter used to provide sla parameter to request dns nodes",
      "default": "",
      "type": "string"
    },

    "zone": {
      "title": "Zone",
      "description": "Zone to be handled by the DNS cluster",
      "type": "string",
      "default": "domain.com",
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
48
      "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,6}$"
49 50 51 52 53 54 55 56 57 58 59 60 61
    },

    "server-admin": {
      "title": "Zone Administrator Email",
      "description": "Email of the zone administrator, it is used to generate SOA value",
      "type": "string",
      "default": "admin@domain.com"
    },

    "dns-name-template-string": {
      "title": "DNS domains template string",
      "description": "Template used to generate DNS domain name",
      "type": "string",
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
62
      "default": "ns%s. + zone"
63 64 65 66 67 68 69 70 71 72 73 74 75 76
    },

    "monitor-interface-url": {
        "title": "Monitor Web Interface URL",
        "description": "Give Url of HTML web interface that will be used to render this monitor instance.",
        "type": "string",
        "format": "uri",
        "default": "https://monitor.app.officejs.com"
    },
    "monitor-cors-domains": {
        "title": "Monitor CORS domains",
        "description": "List of cors domains separated with space. Needed for ajax query on this monitor instance from a different domain.",
        "type": "string",
        "default": "monitor.app.officejs.com"
77 78 79
    }
  }
}