summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-20 17:19:11 +0200
committerGitHub <noreply@github.com>2022-05-20 17:19:11 +0200
commit8dc416ade4fcb9b9d8289756163b1361af59d29f (patch)
tree68def70efc57396077ac25b4196b671b02d49489 /interface-definitions/include
parent55b075df8260b46541972d6f62bcc0956a7af50d (diff)
parentdd2b753fb7c60cba0c79d9a3a19611312282dbce (diff)
downloadvyos-1x-8dc416ade4fcb9b9d8289756163b1361af59d29f.tar.gz
vyos-1x-8dc416ade4fcb9b9d8289756163b1361af59d29f.zip
Merge pull request #1317 from sever-sever/T4418
monitoring: T4418: Add output plugin azure-data-explorer
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/monitoring/url.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/monitoring/url.xml.i b/interface-definitions/include/monitoring/url.xml.i
new file mode 100644
index 000000000..32c81122d
--- /dev/null
+++ b/interface-definitions/include/monitoring/url.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from monitoring/url.xml.i -->
+<leafNode name="url">
+ <properties>
+ <help>Remote URL [REQUIRED]</help>
+ <valueHelp>
+ <format>url</format>
+ <description>Remote URL</description>
+ </valueHelp>
+ <constraint>
+ <regex>(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?</regex>
+ </constraint>
+ <constraintErrorMessage>Incorrect URL format</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->