Skip to content

Instantly share code, notes, and snippets.

@F5Training
Created September 29, 2021 05:27
Show Gist options
  • Save F5Training/c183c8c24b3e0d752824382cd4118f69 to your computer and use it in GitHub Desktop.
Save F5Training/c183c8c24b3e0d752824382cd4118f69 to your computer and use it in GitHub Desktop.
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