Any type of field to add Application Profile for the ESG load balancer? (REST API)

Hello

I am currently working on adding an application profile to a load on a GSS (edge Service Gateway) balancer. I am using the REST API to add the application profile, here is the functioning of the REST API that I am using.

POST https://NSX-Manager-IP-Address/api/4.0/edges/edgeId/loadbalancer/config/applicationprofiles

It works fine, but I can't add a type to the message body. Documentation, it seems there is no field to add the 'type' or the Protocol for the application profile as you can see below,

< applicationProfile >

< name > http_application_profile_2 < / name >

< insertXForwardedFor > true < / insertXForwardedFor >

< sslPassthrough > true < / sslPassthrough >

< persistence >

cookie < method > < / method >

< cookieName > JSESSIONID < / cookieName >

Insert < cookieMode > < / cookieMode >

< / persistence >

< / applicationProfile >

Is there a way I can add a type or Protocol to the application profile (that is to say, HTTP, HTTPS, TCP or UDP)? Is there something I'm missing?

See you soon,.

Dean

What is referred to as 'type' in the Web user interface, is actually called 'model' in the API.

Here is an example of API for the TCP type below

applicationProfile-3

testAPI

fake

fake

fake

The simplest way to understand the API call:

. Create it on the Web interface

. Discover the xml do a GET "https://{{nsxmanager}}/api/4.0/edges/edge-xx/loadbalancer/config/applicationprofiles.

Dimitri

Tags: VMware

Similar Questions

  • How to add a profile for a document of speciaty in the print module?

    How to add a profile for a document of speciaty in the print module?

    (1) download the icc profile.

    (2) install the icc profile in the right folder. If you are on Windows is C:\Windows\system32\spool\DRIVERS\color.

    (3) in the book Module / book settings panel click the profile appears, and then select .

    (3) Lr should automatically display the profile in the list, provided that it is a RGB profile. LR is not CMYK and doesn't recognize nor show any CMYK profile.

  • My superdrive drive don't bed not any type of disc, once I insert it in the drive

    Hi all

    My end 2011 edition iMac doesn't read any type of disc if I insert it in the drive. It automatically rejects the disk after one a wile and then the disc pushes. It allows me not even read the disc. What could be the problem?

    Thank you

    The drive could be faulty, but maybe it's nothing more that a lens is dirty. Lens cleaning products are inexpensive and should give it a shot.

  • How can I add applications imessage for my macbook pro?

    How can I add application imessage for my macbook pro? is it possible to download an app so I can set up my phone to my computer?

    What OS X running on Mac? Messages is an application based on OS X Lion mountain and later.

    See you soon,.

    GB

  • How can I add session variables for the subject field and the body of the e-mail Message?

    How can I add session variables for the subject field and the body of the e-mail Message? Tried several combinations, but do not seem to correct the syntax.

    This is the code I have. I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];
    $subject = '$firstname $lastname, your registration details ';
    $from = "from: [email protected]"; "
    $msg = "Dear $title $firstname $lastname\r\n\nThank for the registration for the design of your dream Home.\r\nWe have received this following details details of you-\r\n\nClient-\r\n\nOccupation: $occupation \r\nPhone No.: $phone \r\nE-mail: $email\r\n\nPresent $ location: \r\n location\r\n\nPresent address: \r\n$ address\r\n\n\nFollowing are specified by you - design requirements \r\n\nBasic Features\r\n\nNo." floors: $floors\r\nNo. of bedrooms: bedrooms\r\nNo of $. of bathrooms: $bathrooms\r\nFloor region: $sqft\r\n\nFurther Suggestions: $ Plan\r\n\nSplit one further\r\n\n\nType floor: $splitfloor\r\n-remarks: $splitfloorremarks\r\nOpen floor: $openfloor\r\n-remarks: $openfloorremarks\r\n\n\nList of the rooms to be Included\r\n\nFoyer: $foyer\r\n-remarks: $foyerremarks\r\nDrawing: $drawing\r\n-remarks: $ alive drawingremarks\r\nFormal: $formalliving\r\n-comments : $ alive formallivingremarks\r\nFamily: $familyliving\r\n-remarks: $familylivingremarks\r\nHome Office: $homeoffice\r\n-remarks: $homeofficeremarks\r\nDining: $dining\r\n-remarks: $diningremarks\r\nMaster room: $master\r\n-remarks: $masterremarks\r\nMaster bathroom: $masterbath\r\n-remarks: $masterbathremarks\r\nMaster Dressing: $masterdress\r\n-remarks: $masterdressremarks\r\nBedroom: $bed\r\n-remarks: $bedremarks\r\nBathroom: $bath\r\n-remarks: $bathremarks\r\nDress: $dress\r\n-comments : $dressremarks\r\nStudy: $study\r\n-remarks: $studyremarks\r\nLibrary: $library\r\n-remarks: $libraryremarks\r\nPowder room: $powder\r\n-remarks: $powderremarks\r\nPrayer room: $prayer\r\n-remarks: $prayerremarks\r\nKitchen: $kitchen\r\n-remarks: $kitchenremarks\r\nPantry: $pantry\r\n-remarks: $pantryremarks\r\nUtility/area of work: $utility\r\n-remarks: $utilityremarks\r\nBalcony: $balcony\r\n-remarks: $balconyremarks\r\nStore: $store\r\n-remarks: $storeremarks\r\nLaundry : $laundry\r\n-remarks: $laundryremarks\r\nVeranda: $veranda\r\n-remarks: $verandaremarks\r\nCar porch: $carporch\r\n-remarks: $carporchremarks\r\nGarage: $garage\r\n-remarks: Theater garageremarks\r\nHome $: $theater\r\n-remarks: room of $theaterremarks\r\nMaid: $maid\r\n-remarks: $maidremarks\r\n\nOther general remarks: $general\r\n\nPlease note that the fields have been left blank in your form will be considered undecided details and used in discretion.\r\nIf of the architect , it better to add more later, design requirements please feel free to reply to this email with the details. « ;
    $fla = mail ($to, $subject, $msg, $from);

    Thanks in advance!

    askintrades wrote:

    How can I add session variables for the subject field and the body of the e-mail Message?

    What you want to do? Given the nature of your question, it seems that you probably don't know what a session variable is used. The PHP manual describes the purpose of sessions here: http://docs.php.net/manual/en/intro.session.php.

    I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];

    Why do you need to change the form variables in session variables? They are already stored in session variables, or they come directly from the form?

    The $to part is not supported. When you pass $to to the mail() function, it should contain only an e-mail address, not a string that begins with "to:

  • Win7 always tries to connect by using the default profile for the Native WIFI

    Win7 always tries to connect by using the default profile for the Native WIFI
    I defined a new WIFI profile for my home WIFI network. I use a USB of NETGEAR WNA1100 adapter. The profile is configured to connect automatically. I also moved over the default profile for the Native WIFI. Win7 always tries to connect to the default Native WIFI profile and not the profile that I created. Also, when I restart Win7, the default profile for the native WIFI moves to the top of the Profiles list. Also, when I try to change the default Native WIFI profile to use security WPA2 - PSK (AES) instead of WEP, it allows me to make changes, but he comes back to WEP after it treats changes and attempts to connect to the network. How can I fix so that Win7 will use my profile to connect to my home WIFI network and not the Native WIFI as the default profile. Win7 still connect using the default profile of NativeWIFI despite installing a different profile in Control Panel 'Wireless Networks '. I know that I can edit this profile by default, but anyone know how tell Win7 to use a different profile than the default? I tried to change the positions of the profile so that I want to use is facing up, but no, still uses the default. If I try to remove it, it comes back.
    After removing the two profiles and adding the profile for my home network, Win7 automatically added the default profile for the return NativeWIFI. My profile is configured to automatically connect to the network using WPA2 - PSK (AES) security and the default profile for the NativeWIFI (use WEP security) is the Win7 Setup to manually connect. Also, Win7 puts the default profile for the NativeWIFI above my profile. Also, when I delete the profile by default the NativeWIFI, Win7 it always puts back and he goes over my profile. This is starting to resemble the Win7 manage wireless mechanism for allowing users to add and prioritize the profiles of school boards does not work. Here's another thing that happens: when I try to change the security for the profile default of NativeWIFI to WPA2 - PSK (AES) of WEP, Win7 allows me to make changes, but it is up to the WEP after it processes the changes and tries to connect to the network. This seems too much for me, it's a problem with Win7. If I could do this job, so I need not to set up a second profile.
    The adapter I use a NETGEAR WNA1100 works correctly and I use it without any problem. I have is with Win7 and the interface to 'manage wireless networks '. It will not honor the fact that the WIFI profile that I created for my home network must be connected to automatically I installed. He always wants to connect to the default profile NativeWIFI even if I set up my home network profile to connect automatically. I can do a manual connection for my home network without problem. It seems to me that it is a question of Win7.
    Kind regards
    QRP

    Thank you very much - Netgear seems to have finally accepted as the default network!  If all goes well it will stay like this

    MAS

  • 'Environment of the user' Windows cannot load the user's profile, but you have logged on with the default profile for the system.

    Original title: the user environment

    After starting windows, on the Welcome screen, this message always comes.
    "User environment.
    Windows cannot load the user's profile, but you have logged on with the default profile for the system. DETAIL: Not enough memory is available to process this command.
    And all my files that I save before you shut down or restart my pc all the my sample files on the desktop, my documents disappear...

    Thanks... :)

    This is typical of a corrupted profile.  To recover, perform the following steps:

    "How to recover damaged Windows XP user profile"
      <>http://support.Microsoft.com/kb/555473 >

    Almost always, corrupt profiles are accompanied by damaged drive.  During recovery, run a disk check with the /r or /f on your computer option.

    "How to perform disk error in Windows XP check"
      <>http://support.Microsoft.com/kb/315265 >

    HTH,
    JW

  • I am maing a movie with windows movie maker and you cannot add a song for the end credits. Whenever I get the song imported the system stops... Help!

    I'm doing a movie with windows movie maker and cannot add a song for the end credits. Whenever I get the song imported the system stops... Help!

    I'm doing a movie with windows movie maker and cannot add a song for the end credits. Whenever I get the song imported the system stops... Help!

    ===============================
    If a music file Movie Maker crashes
    in a format that is not compatible. If you convert
    the file to the format of .wma before importing, you
    can have a better result.

    The converter below might be helpful to try:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.pcfreetime.com/
    (FWIW... you can uncheck
    all the boxes on the last screen)

    After downloading and installing Format Factory...
    Open the program and choose an output folder...
    (this is where you will find your files when they are
    converted)

    Drag and drop your audio clips on the main screen...

    Select "while"WMA"/ OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck.
    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • What type of glass or plastic is used for the lens of the camera

    What type of glass or plsastic is used for the protection of camera lens?

    No glass is plastic sony replay for me

  • The application youtube for the ps vita is the source of many problems and all sorts of problems for me

    The application youtube for the ps vita is the source of many problems and all sorts of problems for me... the main issue he won't let me write reviews... Please solve this problem as soon as possible... Please.  I can't take more of this nonsense that youtube app gives me... and it's even for the ps vita... It's very annoying that I can't make comments... it just says: when I try cannot do this action or something... It has * ing me off and many others also. :'(

    Hello David,.

    As much as we would like to help you, our colleagues in Playstation is best placed to help out you. Discover their community at http://community.us.playstation.com/ or visit their Web site to support https://support.us.playstation.com/app/contact_options for more information on contacting them.

  • I have a photography teacher program Adobe and must add Adobe Illustrator for the BSc SAID curriculum I am on at the Academy of digital skills in Dublin, Ireland how I get the student discount to add Illustrator to mentoring rate?

    I have a photography teacher program Adobe and must add Adobe Illustrator for the BSc SAID curriculum I am on at the Academy of digital skills in Dublin, Ireland how I get the student discount to add Illustrator to mentoring rate?

    I don't know if we can add a program, or you if have to go to a subscription 'all' education

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How can I add a widget for the dashboard widget in Muse

    How can I add a widget for the dashboard widget in Muse? Please include steps.

    Only of the native widgets Muse go to the widgets Panel. For your own or 3rd party widgets are stored in your library panel. If you save your own just right click the element or widget on your page of muse. In options, select Save in the library.

  • How to add listeners for the external loaded swf files?

    IAM loading external .swf file in the file main.swf.

    IAM dispatchEvent (new Event ("loaded")) of external .swf.

    How to add the listener for the event "loaded"?

    in your swf file main something like below:

    mcExt.addEventListener ("load", onCongratsClose);

    function onCongratsClose(e:Event):void {}
    Your code

    }

  • field default hierarchy is missing for the PO and the form of document types SPOin req

    Hi gurus,

    Please help me find the error in the implementation of the approval req.
    field default hierarchy is missing IN Req and standard purchase in the form of document type order.
    I checked the box 'use the hierarchy' on the human resources in the financial options tab.
    what I need to do any other configurations...

    Hello

    Please uncheck the 'Use approval hierarchy' flag and save the changes.
    Again, check the indicator of "Use trust hierarchy" and save the changes.

    Run the following query to check the value of the flag of the 'trust use hierarchy"for the problematic control unit.

    Please provide the id of operating as the query entry unit.
    Select USE_POSITIONS_FLAG from financials_system_params_all where org_id = '& org_id;

    It must return a value 'Y '.

    Now, log out of the application and log in again & check types of documents.

    Thank you
    Seddik

  • How to download my photo as the user's windows picture, how do I add my profile in the OS as an administrator

    How to download my photo as the user's windows picture, how to add my profile in windows OS (vista, xp, win98se) as an administrator windows/PC?

    Hello

    You can choose an image that will be associated with your user account and shown on screens or menus that display your user name, such as the home screen or the start menu.

    Follow the steps in the article mentioned below:

    Windows Vista: http://windows.microsoft.com/en-US/windows-vista/Choose-a-picture-for-your-user-account-and-Start-menu

    Windows XP: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ua_picture_change_w.mspx?mfr=true

Maybe you are looking for

  • the majority of my mail in my Inbox disappeared

    The majority of my mail in my Inbox disappeared

  • Firefox won't play Netflix

    Netflix movies play using Safari, but not Firefox.Using Firefox Mac OS 10.7.5 and Sliverlight 5.1.10411.0 15.0.1,, when I try to play a movie from Netflix, it asks me to download Silverlight again. After that, he still does not play a movie and wants

  • Screen saver does not not - Satellite U300

    Using vista on a Satellite U300. The screen saver has suddenly stopped working.I get "an error prevents the slideshow to play." It worked well, and I know of no reason to have it stop, because I haven't added programs or updates. An idea...?

  • Impressions of faded HP3050 or not aligned

    So, I've had a HP3050 for a few months now and it has been printing fine.  I replaced the black cartridge for my wife today print shipping labels and now is to have some of the following questions: -Some documents, such as labels, she was the printin

  • Page zoom activates itself and cannot be controlled

    Page zoom feature gets mad and has a mind of your own.  Windows Explorer expands up on its own. Outlook pages can be reduced to the tiny size of their own.