Created
September 29, 2021 05:27
-
-
Save F5Training/c183c8c24b3e0d752824382cd4118f69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let configJson = `{ | |
"monitor": { | |
"name": "test.mon", | |
"request": "/ping", | |
"response": "pong" | |
}, | |
"pool": { | |
"name": "test.pool", | |
"monitor": "test.mon", | |
"members": [ | |
{ | |
"address": "10.10.1.1", | |
"port": 80 | |
}, | |
{ | |
"address": "10.10.1.2", | |
"port": 80 | |
} | |
] | |
}, | |
"virtual": { | |
"name": "test.vs", | |
"address": "10.10.1.33", | |
"port": 443, | |
"profiles": [ | |
"tcp", | |
"http", | |
"clientssl" | |
], | |
"automap": true, | |
"pool": "test.pool" | |
} | |
}`; | |
let config = JSON.parse(configJson); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment