Load Balancer

E2E Networks Load Balancer API will help you to create, update Load Balancer

Create a New Load Balancer

Endpoint : https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/?apikey=4a7b7a3f-1cef-49e6-8dd6-b90c6fbed174

CURL

curl -X POST -k -H 'Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJjejBXYVVKVF9wWmE5MXNpRl9QRXVxUUpqdm5VODhsMXdsVmNla1ZiUXBRIn0.eyJqdGkiOiJmZDA2Yzk2NS04NGE4LTQ5M2EtODU2Ny1mZWVlZTRjM2UyMDUiLCJleHAiOjE2Mjk1NzE5MTYsIm5iZiI6MCwiaWF0IjoxNTk4MDM1OTE2LCJpc3MiOiJodHRwOi8vZ2F0ZXdheS5lMmVuZXR3b3Jrcy5jb20vYXV0aC9yZWFsbXMvYXBpbWFuIiwiYXVkIjoiYXBpbWFudWkiLCJzdWIiOiI1OTQ2NTM0Ni0zZTFjLTQ5OGYtOGQxNy1kYTA1YjM5MTgzZjAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJhcGltYW51aSIsImF1dGhfdGltZSI6MCwic2Vzc2lvbl9zdGF0ZSI6IjVkNDI2ODYzLTQ3OTctNDRkNy1iNGE2LWM3ZDE5MzcxY2Q4MSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOltdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsidW1hX2F1dGhvcml6YXRpb24iLCJhcGl1c2VyIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwibmFtZSI6IlBhcml0b3NoIFB1cmkiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJwYXJpdG9zaC5wdXJpQGUyZW5ldHdvcmtzLmNvbSIsImdpdmVuX25hbWUiOiJQYXJpdG9zaCIsImZhbWlseV9uYW1lIjoiUHVyaSIsImVtYWlsIjoicGFyaXRvc2gucHVyaUBlMmVuZXR3b3Jrcy5jb20ifQ.QWwT7jrTaCezRCCaz_e7KLmcE3jEKAjb2xgn7Hry8WbBmaob9tUrLC5iKOvN4vvOcXPKEvHjn-NxYlTA6uaPeagvv4cGdF1Ojp60wBsYZfTlwuWrMttOYcqHBlyOmSan_eDCtqoxt05kjroF-gc1mr63oH_p5PQ7cSrj5UlJg04ajolBeAjyIbox4VAM3CfiQ3c9fNAP_SKaEoP09LizTPvtNacdIG5ZFlvy3d4vztOlcHpFFAHCh1SVG4bQAWto-P40aCZ4Wr_qNnquKa18wsAMeVsxiXfUjw7Cg-gcd7qK8XTiVwRb-a99BAD01GKvkKpkDPMichJZtRmHgqU_DA' -H 'Content-Type: application/json' -i 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/?apikey=4a7b7a3f-1cef-49e6-8dd6-b90c6fssbed174' --data '{
   "lb_name":"API-E2E",
   "lb_mode":"HTTPS",
   "lb_port":443,
   "lb_type":"External",
   "ssl_context":{
      "ssl_name":"lucky",
      "ssl_csr":"-----BEGIN CERTIFICATE-----\nMIICDDCCAXUCFC9mH/orFRPdnf5VfGMeVt4MHyDtMA0GCSqGSIb3DQEBCwUAMEUx\nCzAJBgNVBAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl\ncm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMjAwNDE3MTMxOTAzWhcNMjEwNDE3MTMx\nOTAzWjBFMQswCQYDVQQGEwJJTjETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UE\nCgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GN\nADCBiQKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7atezyy\n+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1w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ECQG2Mdl/tT0686u5pwqhkqhabYELfVjZavmZkgKk0wbbc\ncJ1xobX00rEfE0MhYMLTF/WgBRpyK6qbFCOldQbJ6vw=\n-----END RSA PRIVATE KEY-----",
      "ssl_certificate_chain":"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7at\nezyy+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu\n/U1NCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQAB\nAoGAcCcgypxpBu4qLFiT/kpicaSKwxerJmPGpo/Eh7d0od3iDAXLeW7KMo7X68yk\n6wd8dJevlW7bV2kHV4iTIiQLu52+ZKLbJRWcjmZbS+ovs+iD8bzE44qWf9DKI3ZA\nmSA0p9Fiht19PFtWMPLEBVhxXlhFIDIQynU5u28yL6QnlgECQQDj+ZZUp6AyBHy8\n8y854K9jDn0QhL8coIfFON2BOq+tCXN+Re9Ohs4LDCANMKpUe+mjyRNYtADW2T7C\ny2ebMg6VAkEAzTGi5hOx9ecipwrt6+zJV1KTPP9N67Xeer1Uok7btIbTR2McBmpy\nYL9fzvnrUv7XcVLVtEW038HnzZ7x7IrpXQJBAJPvwr3siOfsQYXbySmlxCpjnIS7\nn8jT40b4P8U8cAO5vliSyVgL4mkI1UO58M4iGttOAF/vbxv8nd2KYRE0yoECQHJn\nxmd5e7ObF1sDYPw1nVyukaFkx1EwqcbNYS7NwPm6Ynpe6/U3zGXczdJczbQMmpp4\nkOZeJybKui+O+1vjZ5ECQG2Mdl/tT0686u5pwqhkqhabYELfVjZavmZkgKk0wbbc\ncJ1xobX00rEfE0MhYMLTF/WgBRpyK6qbFCOldQbJ6vw=\n-----END RSA PRIVATE KEY-----",
      "redirect_to_https":true
   },
   "backends":[
      {
         "servers":[
            {
               "backend_name":"web1",
               "backend_ip":"172.16.xx.xx",
               "backend_port":"3000"
            }
         ],
         "check_url":"/",
         "http_check":false,
         "domain_name":"localhost",
         "balance":"source"
      }
   ],
   "plan_name":"E2E-LB-1",
   "host_target":"164.52.xx.xx",
   "node_list_type":"S",
   "scaler_id":"",
   "scaler_port":"",
   "lb_reserve_ip":"",
   "enable_bitninja":false,
   "enable_eos_logger":{
      "appliance_id":0,
      "access_key":"ghjsfghjsdgfjsgfjsgfjsgfagf",
      "secret_key":"sdgsagfjhsagjsagfjksagjfksagjkfgsajkfgsakjfgsjak",
      "bucket":"xyzdgfjsd"
   },
   "default_backend_name":"alpha"
}'

Response Body

{
   "lb_name":"API-E2E",
   "lb_mode":"HTTPS",
   "lb_port":443,
   "lb_type":"External",
   "ssl_context":{
      "ssl_name":"lucky",
      "ssl_csr":"-----BEGIN CERTIFICATE-----\nMIICDDCCAXUCFC9mH/orFRPdnf5VfGMeVt4MHyDtMA0GCSqGSIb3DQEBCwUAMEUx\nCzAJBgNVBAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl\ncm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMjAwNDE3MTMxOTAzWhcNMjEwNDE3MTMx\nOTAzWjBFMQswCQYDVQQGEwJJTjETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UE\nCgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GN\nADCBiQKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7atezyy\n+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu/U1N\nCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQABMA0G\nCSqGSIb3DQEBCwUAA4GBAIURoRL5PWS+1uzsziOaUeVtBkbha9vc5/HFe3QB79zN\nHyodv2DO6TVhjVpJOzARhPCzqSSaWtELNkgRk17XdLst9lfhNmSS12hw7uTQPTMX\niCMiMId3hz2rAW3Jt65GGn2PE9wm0MK3E0JcdAciZ3fdoba+b+EtAkRnzWghTOso\n-----END CERTIFICATE-----",
      "ssl_key":"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7at\nezyy+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu\n/U1NCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQAB\nAoGAcCcgypxpBu4qLFiT/kpicaSKwxerJmPGpo/Eh7d0od3iDAXLeW7KMo7X68yk\n6wd8dJevlW7bV2kHV4iTIiQLu52+ZKLbJRWcjmZbS+ovs+iD8bzE44qWf9DKI3ZA\nmSA0p9Fiht19PFtWMPLEBVhxXlhFIDIQynU5u28yL6QnlgECQQDj+ZZUp6AyBHy8\n8y854K9jDn0QhL8coIfFON2BOq+tCXN+Re9Ohs4LDCANMKpUe+mjyRNYtADW2T7C\ny2ebMg6VAkEAzTGi5hOx9ecipwrt6+zJV1KTPP9N67Xeer1Uok7btIbTR2McBmpy\nYL9fzvnrUv7XcVLVtEW038HnzZ7x7IrpXQJBAJPvwr3siOfsQYXbySmlxCpjnIS7\nn8jT40b4P8U8cAO5vliSyVgL4mkI1UO58M4iGttOAF/vbxv8nd2KYRE0yoECQHJn\nxmd5e7ObF1sDYPw1nVyukaFkx1EwqcbNYS7NwPm6Ynpe6/U3zGXczdJczbQMmpp4\nkOZeJybKui+O+1vjZ5ECQG2Mdl/tT0686u5pwqhkqhabYELfVjZavmZkgKk0wbbc\ncJ1xobX00rEfE0MhYMLTF/WgBRpyK6qbFCOldQbJ6vw=\n-----END RSA PRIVATE KEY-----",
      "ssl_certificate_chain":"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7at\nezyy+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu\n/U1NCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQAB\nAoGAcCcgypxpBu4qLFiT/kpicaSKwxerJmPGpo/Eh7d0od3iDAXLeW7KMo7X68yk\n6wd8dJevlW7bV2kHV4iTIiQLu52+ZKLbJRWcjmZbS+ovs+iD8bzE44qWf9DKI3ZA\nmSA0p9Fiht19PFtWMPLEBVhxXlhFIDIQynU5u28yL6QnlgECQQDj+ZZUp6AyBHy8\n8y854K9jDn0QhL8coIfFON2BOq+tCXN+Re9Ohs4LDCANMKpUe+mjyRNYtADW2T7C\ny2ebMg6VAkEAzTGi5hOx9ecipwrt6+zJV1KTPP9N67Xeer1Uok7btIbTR2McBmpy\nYL9fzvnrUv7XcVLVtEW038HnzZ7x7IrpXQJBAJPvwr3siOfsQYXbySmlxCpjnIS7\nn8jT40b4P8U8cAO5vliSyVgL4mkI1UO58M4iGttOAF/vbxv8nd2KYRE0yoECQHJn\nxmd5e7ObF1sDYPw1nVyukaFkx1EwqcbNYS7NwPm6Ynpe6/U3zGXczdJczbQMmpp4\nkOZeJybKui+O+1vjZ5ECQG2Mdl/tT0686u5pwqhkqhabYELfVjZavmZkgKk0wbbc\ncJ1xobX00rEfE0MhYMLTF/WgBRpyK6qbFCOldQbJ6vw=\n-----END RSA PRIVATE KEY-----",
      "redirect_to_https":true
   },
   "backends":[
      {
         "servers":[
            {
               "backend_name":"e2e-lb",
               "backend_ip":"172.16.xx.xx",
               "backend_port":"3000"
            }
         ],
         "check_url":"/",
         "http_check":false,
         "domain_name":"localhost",
         "balance":"source"
      }
   ],
   "plan_name":"E2E-LB-1",
   "host_target":"164.52.xx.xx",
   "node_list_type":"S",
   "scaler_id":"",
   "scaler_port":"",
   "lb_reserve_ip":"",
   "enable_bitninja":false,
   "enable_eos_logger":{
      "appliance_id":0,
      "access_key":"ghjsfghjsdgfjsgfjsgfjsgfagf",
      "secret_key":"sdgsagfjhsagjsagfjksagjfksagjkfgsajkfgsakjfgsjak",
      "bucket":"xyzdgfjsd"
   },
   "default_backend_name":"alpha"
}

Edit your Load Balancer

Endpoint : https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/?apikey=4a7b7a3f-1cef-49e6-8dd6-b90c6fbed174

CURL

curl -X PUT -k -H 'Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJjejBXYVVKVF9wWmE5MXNpRl9QRXVxUUpqdm5VODhsMXdsVmNla1ZiUXBRIn0.eyJqdGkiOiJmZDA2Yzk2NS04NGE4LTQ5M2EtODU2Ny1mZWVlZTRjM2UyMDUiLCJleHAiOjE2Mjk1NzE5MTYsIm5iZiI6MCwiaWF0IjoxNTk4MDM1OTE2LCJpc3MiOiJodHRwOi8vZ2F0ZXdheS5lMmVuZXR3b3Jrcy5jb20vYXV0aC9yZWFsbXMvYXBpbWFuIiwiYXVkIjoiYXBpbWFudWkiLCJzdWIiOiI1OTQ2NTM0Ni0zZTFjLTQ5OGYtOGQxNy1kYTA1YjM5MTgzZjAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJhcGltYW51aSIsImF1dGhfdGltZSI6MCwic2Vzc2lvbl9zdGF0ZSI6IjVkNDI2ODYzLTQ3OTctNDRkNy1iNGE2LWM3ZDE5MzcxY2Q4MSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOltdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsidW1hX2F1dGhvcml6YXRpb24iLCJhcGl1c2VyIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwibmFtZSI6IlBhcml0b3NoIFB1cmkiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJwYXJpdG9zaC5wdXJpQGUyZW5ldHdvcmtzLmNvbSIsImdpdmVuX25hbWUiOiJQYXJpdG9zaCIsImZhbWlseV9uYW1lIjoiUHVyaSIsImVtYWlsIjoicGFyaXRvc2gucHVyaUBlMmVuZXR3b3Jrcy5jb20ifQ.QWwT7jrTaCezRCCaz_e7KLmcE3jEKAjb2xgn7Hry8WbBmaob9tUrLC5iKOvN4vvOcXPKEvHjn-NxYlTA6uaPeagvv4cGdF1Ojp60wBsYZfTlwuWrMttOYcqHBlyOmSan_eDCtqoxt05kjroF-gc1mr63oH_p5PQ7cSrj5UlJg04ajolBeAjyIbox4VAM3CfiQ3c9fNAP_SKaEoP09LizTPvtNacdIG5ZFlvy3d4vztOlcHpFFAHCh1SVG4bQAWto-P40aCZ4Wr_qNnquKa18wsAMeVsxiXfUjw7Cg-gcd7qK8XTiVwRb-a99BAD01GKvkKpkDPMichJZtRmHgqU_DA' -i 'https://api.e2enetworks.com/myaccount/api/v1/appliances/load-balancers/1851/?apikey=4sdsa7b7a3f-1cef-49e6-8dd6-b90c6fbed174' --data '{
   "lb_name":"E2E-LB-1-638",
   "lb_mode":"HTTPS",
   "lb_port":443,
   "lb_type":"External",
   "ssl_context":{
      "ssl_name":"lucky",
      "ssl_csr":"-----BEGIN CERTIFICATE-----\nMIICDDCCAXUCFC9mH/orFRPdnf5VfGMeVt4MHyDtMA0GCSqGSIb3DQEBCwUAMEUx\nCzAJBgNVBAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl\ncm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMjAwNDE3MTMxOTAzWhcNMjEwNDE3MTMx\nOTAzWjBFMQswCQYDVQQGEwJJTjETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UE\nCgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GN\nADCBiQKB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----END RSA PRIVATE KEY-----",
      "redirect_to_https":true
   },
   "backends":[
      {
         "servers":[
            {
               "backend_name":"Web",
               "backend_ip":"172.16.xx.xx",
               "backend_port":"3000"
            }
         ],
         "check_url":"/",
         "http_check":false,
         "domain_name":"localhost",
         "balance":"source"
      }
   ],
   "plan_name":"E2E-LB-1",
   "host_target":"164.52.xx.xx",
   "node_list_type":"S",
   "scaler_id":"",
   "scaler_port":"",
   "lb_reserve_ip":"",
   "enable_bitninja":false,
   "enable_eos_logger":{
      "appliance_id":0,
      "access_key":"ghjsfghjsdgfjsgfjsgfjsgfagf",
      "secret_key":"sdgsagfjhsagjsagfjksagjfksagjkfgsajkfgsakjfgsjak",
      "bucket":"xyzdgfjsd"
   },
   "default_backend_name":"alpha"
}'

Response Body

{
   "lb_name":"E2E-LB-1",
   "lb_mode":"HTTPS",
   "lb_port":443,
   "lb_type":"External",
   "ssl_context":{
      "ssl_name":"lucky",
      "ssl_csr":"-----BEGIN CERTIFICATE-----\nMIICDDCCAXUCFC9mH/orFRPdnf5VfGMeVt4MHyDtMA0GCSqGSIb3DQEBCwUAMEUx\nCzAJBgNVBAYTAklOMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl\ncm5ldCBXaWRnaXRzIFB0eSBMdGQwHhcNMjAwNDE3MTMxOTAzWhcNMjEwNDE3MTMx\nOTAzWjBFMQswCQYDVQQGEwJJTjETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UE\nCgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GN\nADCBiQKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7atezyy\n+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu/U1N\nCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQABMA0G\nCSqGSIb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VATE KEY-----",
      "ssl_certificate_chain":"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC2uxE4ZVgAjg89UatsVicTzKepDYg8YNI+Dh+DVbeoi1P4g7at\nezyy+PBIvEmr97KVnUBwnSDUPbNtd2mQVqTD1wLqA4nh17BiG40y+WCAauZskKnu\n/U1NCt6zQu07WRj7qQKa6W+vXkSNJ6dgriQj6y1givHy2XVgQa+WKMbpIQIDAQAB\nAoGAcCcgypxpBu4qLFiT/kpicaSKwxerJmPGpo/Eh7d0od3iDAXLeW7KMo7X68yk\n6wd8dJevlW7bV2kHV4iTIiQLu52+ZKLbJRWcjmZbS+ovs+iD8bzE44qWf9DKI3ZA\nmSA0p9Fiht19PFtWMPLEBVhxXlhFIDIQynU5u28yL6QnlgECQQDj+ZZUp6AyBHy8\n8y854K9jDn0QhL8coIfFON2BOq+tCXN+Re9Ohs4LDCANMKpUe+mjyRNYtADW2T7C\ny2ebMg6VAkEAzTGi5hOx9ecipwrt6+zJV1KTPP9N67Xeer1Uok7btIbTR2McBmpy\nYL9fzvnrUv7XcVLVtEW038HnzZ7x7IrpXQJBAJPvwr3siOfsQYXbySmlxCpjnIS7\nn8jT40b4P8U8cAO5vliSyVgL4mkI1UO58M4iGttOAF/vbxv8nd2KYRE0yoECQHJn\nxmd5e7ObF1sDYPw1nVyukaFkx1EwqcbNYS7NwPm6Ynpe6/U3zGXczdJczbQMmpp4\nkOZeJybKui+O+1vjZ5ECQG2Mdl/tT0686u5pwqhkqhabYELfVjZavmZkgKk0wbbc\ncJ1xobX00rEfE0MhYMLTF/WgBRpyK6qbFCOldQbJ6vw=\n-----END RSA PRIVATE KEY-----",
      "redirect_to_https":true
   },
   "backends":[
      {
         "servers":[
            {
               "backend_name":"Web",
               "backend_ip":"172.16.xx.xx",
               "backend_port":"3000"
            }
         ],
         "check_url":"/",
         "http_check":false,
         "domain_name":"localhost",
         "balance":"source"
      }
   ],
   "plan_name":"E2E-LB-1",
   "host_target":"164.52.194.140",
   "node_list_type":"S",
   "scaler_id":"",
   "scaler_port":"",
   "lb_reserve_ip":"",
   "enable_bitninja":false,
   "enable_eos_logger":{
      "appliance_id":0,
      "access_key":"ghjsfghjsdgfjsgfjsgfjsgfagf",
      "secret_key":"sdgsagfjhsagjsagfjksagjfksagjkfgsajkfgsakjfgsjak",
      "bucket":"xyzdgfjsd"
   },
   "default_backend_name":"alpha"
}