HTTP Application with iRule-preloadedΒΆ
HTTP application with a pre-loaded iRule using below example:
{
"allowOverwrite": false,
"name": "<app_name>",
"description": "application 01",
"set_name": "Examples",
"template_name": "http",
"parameters": {
"pools": [
{
"servicePort": 80,
"loadBalancingMode": "least-connections-member",
"loadBalancingRatio": 15,
"monitorType": [
"http"
],
"poolName": "<app_name>_pool",
"isServicePool": false,
"poolMembers": [
{
"name": "member01"
}
]
}
],
"monitors": [
{
"isHttpMonitor": true,
"monitorType": "http",
"monitorName": "http",
"isDefault": true,
"interval": 10,
"timeout": 20,
"sendString": "GET / HTTP/1.0\r\n\r\n",
"receiveString": ".*",
"receiveDisableString": "failure",
"username": "my-name",
"password": "my-password"
}
],
"virtuals": [
{
"enable_Access": false,
"enable_InspectionServices": false,
"enable_TLS_Server": false,
"enable_snat": true,
"iRulesEnum": [
{
"name": "app-preloaded-irule",
"staged": false,
"userId": "my-user-id",
"version": "1"
}
],
"snat_automap": true,
"snat_addresses": [],
"enable_FastL4": false,
"enable_HTTP2_Profile": false,
"enable_UDP_Profile": false,
"enable_TCP_Profile": false,
"enable_mirroring": true,
"enable_TLS_Client": false,
"enable_SsloPolicy": false,
"enable_WAF": false,
"enable_iRules": true,
"virtualPort": 80,
"virtualName": "<app_name>_vs",
"pool": "<app_name>_pool"
}
],
"enable_Global_Resiliency": false,
"application_description": "application 01",
"application_name": "<app_name>"
}
}