{ "id":"/axapi/v3/visibility/reporting/template/notification/template-name/{name}", "type":"object", "node-type":"list", "title":"template-name", "partition-visibility":"shared", "description":"Notification template configuration", "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "description":"Notification template name", "optional":false }, "ipv4-address":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "not-list":[ "ipv6-address", "host-name" ], "description":"Configure the host IPv4 address", "optional":true }, "ipv6-address":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "not-list":[ "ipv4-address", "host-name" ], "description":"Configure the host IPv6 address", "optional":true }, "host-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "not-list":[ "ipv4-address", "ipv6-address" ], "description":"Configure the host name(e.g www.a10networks.com)", "optional":true }, "use-mgmt-port":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use management port for notifications", "optional":true }, "protocol":{ "type":"string", "format":"enum", "default":"https", "partition-visibility":"shared", "description":"'http': Use http protocol; 'https': Use https protocol(default); (http protocol)", "enum":[ "http", "https" ], "optional":true }, "http-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":80, "partition-visibility":"shared", "description":"Configure the http port to use(default 80) (http port(default 80))", "optional":true }, "https-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "default":443, "partition-visibility":"shared", "description":"Configure the https port to use(default 443) (http port(default 443))", "optional":true }, "relative-uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "default":"/", "partition-visibility":"shared", "description":"Configure the relative uri(e.g /example , default /)", "optional":true }, "action":{ "type":"string", "format":"enum", "default":"enable", "partition-visibility":"shared", "description":"'enable': Enable; 'disable': Disable; ", "enum":[ "enable", "disable" ], "optional":true }, "debug-mode":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Enable debug mode", "optional":true }, "test-connectivity":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Test connectivity to notification receiver", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'sent_successful': Sent successful; 'send_fail': Send failures; 'response_fail': Response failures; ", "enum":[ "all", "sent_successful", "send_fail", "response_fail" ] } } } ] }, "authentication":{ "type":"object", "$ref":"/axapi/v3/visibility/reporting/template/notification/template-name/{name}/authentication", "properties":{ "relative-login-uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Configure the authentication login uri" }, "relative-logoff-uri":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Configure the authentication logoff uri" }, "auth-username":{ "type":"string", "format":"string", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Configure the authentication user name" }, "auth-password":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Configure the authentication user password (Authentication password)" }, "auth-password-string":{ "type":"string", "format":"password", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Configure the authentication user password (Authentication password)" }, "encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED secret string)" }, "api-key":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Configure api-key as a mode of authentication" }, "api-key-string":{ "type":"string", "format":"password", "minLength":1, "maxLength":64, "partition-visibility":"shared", "description":"Configure api-key as a mode of authentication" }, "api-key-encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "description":"Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED secret string)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } }, "object-keys":[ "name" ], "required":[ "name" ] }