UNPKG

@itentialopensource/adapter-infoblox

Version:
184 lines 4.08 kB
{ "$id": "recordHost", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "translate": true, "dynamicfields": true, "properties": { "ph_request_type": { "$id": "/properties/ph_request_type", "type": "string", "description": "type of request (internal to adapter)", "default": "createHostRecord", "enum": [ "createHostRecord", "getHostKeyByHostName", "deleteHostRecordByHostName", "unassignIP", "getIpByHost", "getHostByIp", "createHostRecord2" ], "external_name": "ph_request_type" }, "name": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "name" }, "ipv4addrs": { "type": "array", "items": { "type": "object", "properties": { "_ref": { "type": "string", "description": "the command being run on the device", "examples": [], "external_name": "_ref" }, "configure_for_dhcp": { "type": "boolean", "description": "the command being run on the device", "examples": [], "external_name": "configure_for_dhcp" }, "host": { "type": "string", "description": "the command being run on the device", "examples": [], "external_name": "host" }, "ipv4addr": { "type": "string", "description": "the command being run on the device", "examples": [], "external_name": "ipv4addr" } } }, "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "ipv4addrs" }, "_ref": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "_ref" }, "view": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "view" }, "result": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "result" }, "network_view": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "network_view" }, "ip_address": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "ip_address" }, "configure_for_dns": { "type": "boolean", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "configure_for_dns" }, "comment": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "comment" }, "modifiedHostName": { "type": "string", "description": "", "parse": false, "encode": false, "encrypt": { "type": "AES", "key": "" }, "external_name": "modifiedHostName" } }, "allOf": [ { "if": { "properties": { "ph_request_type": { "enum": [ "createHostRecord" ] } } }, "then": { "required": [ "name", "ipv4addrs" ] } } ], "definitions": {} }