idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
13,000 | public void zone_zoneName_dynHost_login_login_changePassword_POST ( String zoneName , String login , String password ) throws IOException { String qPath = "/domain/zone/{zoneName}/dynHost/login/{login}/changePassword" ; StringBuilder sb = path ( qPath , zoneName , login ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "password" , password ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Change password of the DynHost login | 131 | 7 |
13,001 | public OvhDynHostLogin zone_zoneName_dynHost_login_POST ( String zoneName , String loginSuffix , String password , String subDomain ) throws IOException { String qPath = "/domain/zone/{zoneName}/dynHost/login" ; StringBuilder sb = path ( qPath , zoneName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "loginSuffix" , loginSuffix ) ; addBody ( o , "password" , password ) ; addBody ( o , "subDomain" , subDomain ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhDynHostLogin . class ) ; } | Create a new DynHost login | 180 | 6 |
13,002 | public ArrayList < Date > zone_zoneName_history_GET ( String zoneName , Date creationDate_from , Date creationDate_to ) throws IOException { String qPath = "/domain/zone/{zoneName}/history" ; StringBuilder sb = path ( qPath , zoneName ) ; query ( sb , "creationDate.from" , creationDate_from ) ; query ( sb , "creationDate.to" , creationDate_to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Zone restore points | 136 | 3 |
13,003 | public OvhTask zone_zoneName_history_creationDate_restore_POST ( String zoneName , java . util . Date creationDate ) throws IOException { String qPath = "/domain/zone/{zoneName}/history/{creationDate}/restore" ; StringBuilder sb = path ( qPath , zoneName , creationDate ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | Restore the DNS zone | 114 | 5 |
13,004 | public void zone_zoneName_task_id_relaunch_POST ( String zoneName , Long id ) throws IOException { String qPath = "/domain/zone/{zoneName}/task/{id}/relaunch" ; StringBuilder sb = path ( qPath , zoneName , id ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; } | Relaunch the task | 88 | 4 |
13,005 | public void zone_zoneName_reset_POST ( String zoneName , OvhResetRecord [ ] DnsRecords , Boolean minimized ) throws IOException { String qPath = "/domain/zone/{zoneName}/reset" ; StringBuilder sb = path ( qPath , zoneName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "DnsRecords" , DnsRecords ) ; addBody ( o , "minimized" , minimized ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Reset the DNS zone | 138 | 5 |
13,006 | public ArrayList < Long > zone_zoneName_record_GET ( String zoneName , OvhNamedResolutionFieldTypeEnum fieldType , String subDomain ) throws IOException { String qPath = "/domain/zone/{zoneName}/record" ; StringBuilder sb = path ( qPath , zoneName ) ; query ( sb , "fieldType" , fieldType ) ; query ( sb , "subDomain" , subDomain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Records of the zone | 133 | 5 |
13,007 | public net . minidev . ovh . api . domain . OvhTask serviceName_nameServer_id_DELETE ( String serviceName , Long id ) throws IOException { String qPath = "/domain/{serviceName}/nameServer/{id}" ; StringBuilder sb = path ( qPath , serviceName , id ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , net . minidev . ovh . api . domain . OvhTask . class ) ; } | Delete a name server | 127 | 4 |
13,008 | public ArrayList < OvhUkRegistrar > serviceName_ukRegistrars_GET ( String serviceName ) throws IOException { String qPath = "/domain/{serviceName}/ukRegistrars" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Return the list of all . uk registrars | 97 | 11 |
13,009 | public net . minidev . ovh . api . domain . OvhTask serviceName_glueRecord_host_DELETE ( String serviceName , String host ) throws IOException { String qPath = "/domain/{serviceName}/glueRecord/{host}" ; StringBuilder sb = path ( qPath , serviceName , host ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , net . minidev . ovh . api . domain . OvhTask . class ) ; } | Delete the glue record | 129 | 4 |
13,010 | public net . minidev . ovh . api . domain . OvhTask serviceName_glueRecord_host_update_POST ( String serviceName , String host , String [ ] ips ) throws IOException { String qPath = "/domain/{serviceName}/glueRecord/{host}/update" ; StringBuilder sb = path ( qPath , serviceName , host ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ips" , ips ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , net . minidev . ovh . api . domain . OvhTask . class ) ; } | Update the glue record | 169 | 4 |
13,011 | public ArrayList < String > serviceName_glueRecord_GET ( String serviceName , String host ) throws IOException { String qPath = "/domain/{serviceName}/glueRecord" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "host" , host ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | List of glue record | 103 | 4 |
13,012 | public void serviceName_activateZone_POST ( String serviceName , Boolean minimized ) throws IOException { String qPath = "/domain/{serviceName}/activateZone" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "minimized" , minimized ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Activate the DNS zone for this domain | 106 | 8 |
13,013 | public ArrayList < OvhOptin > serviceName_rules_optin_GET ( String serviceName ) throws IOException { String qPath = "/domain/{serviceName}/rules/optin" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Retrieve optin rule | 93 | 5 |
13,014 | public ArrayList < OvhContactAllTypesEnum > serviceName_rules_emailsObfuscation_GET ( String serviceName ) throws IOException { String qPath = "/domain/{serviceName}/rules/emailsObfuscation" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Retrieve emails obfuscation rule | 102 | 6 |
13,015 | public ArrayList < Long > serviceName_dsRecord_GET ( String serviceName , OvhKeyFlagEnum flags , OvhKeyStatusEnum status ) throws IOException { String qPath = "/domain/{serviceName}/dsRecord" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "flags" , flags ) ; query ( sb , "status" , status ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List of domain s DS Records | 126 | 6 |
13,016 | public void serviceName_owo_field_DELETE ( String serviceName , net . minidev . ovh . api . domain . OvhWhoisObfuscatorFieldsEnum field ) throws IOException { String qPath = "/domain/{serviceName}/owo/{field}" ; StringBuilder sb = path ( qPath , serviceName , field ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a whois obfuscator | 106 | 6 |
13,017 | public ArrayList < OvhWhoisObfuscatorFieldsEnum > serviceName_owo_GET ( String serviceName , OvhWhoisObfuscatorFieldsEnum field ) throws IOException { String qPath = "/domain/{serviceName}/owo" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "field" , field ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; } | List of whois obfuscators | 121 | 6 |
13,018 | public ArrayList < OvhWhoisObfuscatorFieldsEnum > serviceName_owo_POST ( String serviceName , OvhWhoisObfuscatorFieldsEnum [ ] fields ) throws IOException { String qPath = "/domain/{serviceName}/owo" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "fields" , fields ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t7 ) ; } | Add whois obfuscators | 143 | 5 |
13,019 | public void serviceName_email_obfuscated_refresh_POST ( String serviceName , OvhDomainContactTypeEnum [ ] contactType ) throws IOException { String qPath = "/domain/{serviceName}/email/obfuscated/refresh" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contactType" , contactType ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Regenerate the obfuscated email address | 127 | 8 |
13,020 | public ArrayList < net . minidev . ovh . api . domain . configurations . OvhOptin > serviceName_configurations_optin_GET ( String serviceName ) throws IOException { String qPath = "/domain/{serviceName}/configurations/optin" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; } | Retrieve optin configuration | 110 | 5 |
13,021 | public ArrayList < net . minidev . ovh . api . domain . configurations . OvhOptin > serviceName_configurations_optin_PUT ( String serviceName , net . minidev . ovh . api . domain . configurations . OvhOptin [ ] optin ) throws IOException { String qPath = "/domain/{serviceName}/configurations/optin" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "optin" , optin ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , t8 ) ; } | Save a new optin configuration | 168 | 6 |
13,022 | public ArrayList < OvhObfuscatedEmails > serviceName_configurations_obfuscatedEmails_GET ( String serviceName ) throws IOException { String qPath = "/domain/{serviceName}/configurations/obfuscatedEmails" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; } | Retrieve obfuscated emails configuration | 104 | 6 |
13,023 | public ArrayList < OvhObfuscatedEmails > serviceName_configurations_obfuscatedEmails_PUT ( String serviceName , OvhContactAllTypesEnum [ ] contacts ) throws IOException { String qPath = "/domain/{serviceName}/configurations/obfuscatedEmails" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contacts" , contacts ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , t9 ) ; } | Save a new obfuscated emails configuration | 148 | 7 |
13,024 | public void serviceName_configurations_obfuscatedEmails_refresh_POST ( String serviceName , OvhContactAllTypesEnum [ ] contacts ) throws IOException { String qPath = "/domain/{serviceName}/configurations/obfuscatedEmails/refresh" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contacts" , contacts ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Refresh an obfuscated emails configuration | 131 | 7 |
13,025 | public String serviceName_senders_POST ( String serviceName , String description , String reason , String sender ) throws IOException { String qPath = "/sms/{serviceName}/senders" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "reason" , reason ) ; addBody ( o , "sender" , sender ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; } | Create the sms sender given | 150 | 6 |
13,026 | public void serviceName_senders_sender_DELETE ( String serviceName , String sender ) throws IOException { String qPath = "/sms/{serviceName}/senders/{sender}" ; StringBuilder sb = path ( qPath , serviceName , sender ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete the sms sender given | 86 | 6 |
13,027 | public ArrayList < Long > serviceName_virtualNumbers_number_outgoing_GET ( String serviceName , String number , Date creationDatetime_from , Date creationDatetime_to , Long deliveryReceipt , Long differedDelivery , Long ptt , String receiver , String sender , String tag ) throws IOException { String qPath = "/sms/{serviceName}/virtualNumbers/{number}/outgoing" ; StringBuilder sb = path ( qPath , serviceName , number ) ; query ( sb , "creationDatetime.from" , creationDatetime_from ) ; query ( sb , "creationDatetime.to" , creationDatetime_to ) ; query ( sb , "deliveryReceipt" , deliveryReceipt ) ; query ( sb , "differedDelivery" , differedDelivery ) ; query ( sb , "ptt" , ptt ) ; query ( sb , "receiver" , receiver ) ; query ( sb , "sender" , sender ) ; query ( sb , "tag" , tag ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Sms sent associated to the sms account | 267 | 9 |
13,028 | public ArrayList < Long > serviceName_virtualNumbers_number_incoming_GET ( String serviceName , String number , Date creationDatetime_from , Date creationDatetime_to , String sender , String tag ) throws IOException { String qPath = "/sms/{serviceName}/virtualNumbers/{number}/incoming" ; StringBuilder sb = path ( qPath , serviceName , number ) ; query ( sb , "creationDatetime.from" , creationDatetime_from ) ; query ( sb , "creationDatetime.to" , creationDatetime_to ) ; query ( sb , "sender" , sender ) ; query ( sb , "tag" , tag ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Sms received associated to the sms account | 189 | 9 |
13,029 | public OvhReceiversAsynchronousCleanReport serviceName_receivers_slotId_clean_POST ( String serviceName , Long slotId , Boolean freemium , Boolean priceOnly ) throws IOException { String qPath = "/sms/{serviceName}/receivers/{slotId}/clean" ; StringBuilder sb = path ( qPath , serviceName , slotId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "freemium" , freemium ) ; addBody ( o , "priceOnly" , priceOnly ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhReceiversAsynchronousCleanReport . class ) ; } | Clean the invalid and inactive receivers in the document by requesting HLR on each receiver . A report is sent by e - mail at the end of the operation . | 180 | 32 |
13,030 | public void serviceName_receivers_slotId_DELETE ( String serviceName , Long slotId ) throws IOException { String qPath = "/sms/{serviceName}/receivers/{slotId}" ; StringBuilder sb = path ( qPath , serviceName , slotId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete the document from the slot | 90 | 6 |
13,031 | public void serviceName_users_login_DELETE ( String serviceName , String login ) throws IOException { String qPath = "/sms/{serviceName}/users/{login}" ; StringBuilder sb = path ( qPath , serviceName , login ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete the sms user given | 82 | 6 |
13,032 | public OvhReceiver serviceName_users_login_receivers_POST ( String serviceName , String login , Boolean autoUpdate , String csvUrl , String description , String documentId , Long slotId ) throws IOException { String qPath = "/sms/{serviceName}/users/{login}/receivers" ; StringBuilder sb = path ( qPath , serviceName , login ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "autoUpdate" , autoUpdate ) ; addBody ( o , "csvUrl" , csvUrl ) ; addBody ( o , "description" , description ) ; addBody ( o , "documentId" , documentId ) ; addBody ( o , "slotId" , slotId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhReceiver . class ) ; } | Add a new document of csv receivers | 216 | 8 |
13,033 | public ArrayList < Long > serviceName_users_login_outgoing_GET ( String serviceName , String login , Long deliveryReceipt , Long differedDelivery , Long ptt , String receiver , String sender , String tag ) throws IOException { String qPath = "/sms/{serviceName}/users/{login}/outgoing" ; StringBuilder sb = path ( qPath , serviceName , login ) ; query ( sb , "deliveryReceipt" , deliveryReceipt ) ; query ( sb , "differedDelivery" , differedDelivery ) ; query ( sb , "ptt" , ptt ) ; query ( sb , "receiver" , receiver ) ; query ( sb , "sender" , sender ) ; query ( sb , "tag" , tag ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Sms sent associated to the sms user | 211 | 9 |
13,034 | public OvhSmsSendingReport serviceName_users_login_jobs_POST ( String serviceName , String login , OvhCharsetEnum charset , OvhClassEnum _class , OvhCodingEnum coding , Long differedPeriod , String message , Boolean noStopClause , OvhPriorityEnum priority , String [ ] receivers , String receiversDocumentUrl , String receiversSlotId , String sender , Boolean senderForResponse , String tag , Long validityPeriod ) throws IOException { String qPath = "/sms/{serviceName}/users/{login}/jobs" ; StringBuilder sb = path ( qPath , serviceName , login ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "charset" , charset ) ; addBody ( o , "class" , _class ) ; addBody ( o , "coding" , coding ) ; addBody ( o , "differedPeriod" , differedPeriod ) ; addBody ( o , "message" , message ) ; addBody ( o , "noStopClause" , noStopClause ) ; addBody ( o , "priority" , priority ) ; addBody ( o , "receivers" , receivers ) ; addBody ( o , "receiversDocumentUrl" , receiversDocumentUrl ) ; addBody ( o , "receiversSlotId" , receiversSlotId ) ; addBody ( o , "sender" , sender ) ; addBody ( o , "senderForResponse" , senderForResponse ) ; addBody ( o , "tag" , tag ) ; addBody ( o , "validityPeriod" , validityPeriod ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmsSendingReport . class ) ; } | Add one or several sending jobs | 417 | 6 |
13,035 | public ArrayList < Long > serviceName_users_login_incoming_GET ( String serviceName , String login , String sender , String tag ) throws IOException { String qPath = "/sms/{serviceName}/users/{login}/incoming" ; StringBuilder sb = path ( qPath , serviceName , login ) ; query ( sb , "sender" , sender ) ; query ( sb , "tag" , tag ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Sms received associated to the sms user | 133 | 9 |
13,036 | public ArrayList < OvhSenderAvailable > serviceName_sendersAvailableForValidation_GET ( String serviceName , OvhSenderRefererEnum referer ) throws IOException { String qPath = "/sms/{serviceName}/sendersAvailableForValidation" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "referer" , referer ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | The senders that are attached to your personal informations or OVH services and that can be automatically validated | 124 | 22 |
13,037 | public OvhPcsFile serviceName_phonebooks_bookKey_export_GET ( String serviceName , String bookKey , OvhContactsExportFormatsEnum format ) throws IOException { String qPath = "/sms/{serviceName}/phonebooks/{bookKey}/export" ; StringBuilder sb = path ( qPath , serviceName , bookKey ) ; query ( sb , "format" , format ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPcsFile . class ) ; } | Export the phonebook s contacts | 134 | 6 |
13,038 | public Long serviceName_phonebooks_bookKey_phonebookContact_POST ( String serviceName , String bookKey , String group , String homeMobile , String homePhone , String name , String surname , String workMobile , String workPhone ) throws IOException { String qPath = "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact" ; StringBuilder sb = path ( qPath , serviceName , bookKey ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "group" , group ) ; addBody ( o , "homeMobile" , homeMobile ) ; addBody ( o , "homePhone" , homePhone ) ; addBody ( o , "name" , name ) ; addBody ( o , "surname" , surname ) ; addBody ( o , "workMobile" , workMobile ) ; addBody ( o , "workPhone" , workPhone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , Long . class ) ; } | Create a phonebook contact . Return identifier of the phonebook contact . | 246 | 14 |
13,039 | public ArrayList < OvhException > serviceName_exceptions_GET ( String serviceName , String receiver ) throws IOException { String qPath = "/sms/{serviceName}/exceptions" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "receiver" , receiver ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Describe filter exceptions in sms sending from a specific receiver . | 105 | 13 |
13,040 | public ArrayList < OvhPackOffer > serviceName_seeOffers_GET ( String serviceName , OvhCountryEnum countryCurrencyPrice , net . minidev . ovh . api . sms . OvhCountryEnum countryDestination , OvhPackQuantityEnum quantity ) throws IOException { String qPath = "/sms/{serviceName}/seeOffers" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "countryCurrencyPrice" , countryCurrencyPrice ) ; query ( sb , "countryDestination" , countryDestination ) ; query ( sb , "quantity" , quantity ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Describe SMS offers available . | 181 | 6 |
13,041 | public OvhSmsSendingReport serviceName_hlr_POST ( String serviceName , String [ ] receivers , String receiversDocumentUrl ) throws IOException { String qPath = "/sms/{serviceName}/hlr" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "receivers" , receivers ) ; addBody ( o , "receiversDocumentUrl" , receiversDocumentUrl ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmsSendingReport . class ) ; } | Add one or several sending hlr lookup request | 158 | 9 |
13,042 | public void serviceName_transferCredits_POST ( String serviceName , Double credits , String smsAccountTarget ) throws IOException { String qPath = "/sms/{serviceName}/transferCredits" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "credits" , credits ) ; addBody ( o , "smsAccountTarget" , smsAccountTarget ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Credit transfer between two sms accounts . | 130 | 8 |
13,043 | public void serviceName_templatesControl_name_relaunchValidation_POST ( String serviceName , String name , String description , String message ) throws IOException { String qPath = "/sms/{serviceName}/templatesControl/{name}/relaunchValidation" ; StringBuilder sb = path ( qPath , serviceName , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "message" , message ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Attempt a new validation after moderation refusal | 143 | 7 |
13,044 | public void serviceName_templatesControl_POST ( String serviceName , OvhTypeTemplateEnum activity , String description , String message , String name , String reason ) throws IOException { String qPath = "/sms/{serviceName}/templatesControl" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "activity" , activity ) ; addBody ( o , "description" , description ) ; addBody ( o , "message" , message ) ; addBody ( o , "name" , name ) ; addBody ( o , "reason" , reason ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Create the sms template control given | 172 | 7 |
13,045 | public OvhPttDetails ptts_GET ( Long ptt ) throws IOException { String qPath = "/sms/ptts" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ptt" , ptt ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPttDetails . class ) ; } | Get informations about the given ptt code | 95 | 9 |
13,046 | public OvhOpenTSDBToken serviceName_token_opentsdb_tokenId_GET ( String serviceName , String tokenId ) throws IOException { String qPath = "/dbaas/timeseries/{serviceName}/token/opentsdb/{tokenId}" ; StringBuilder sb = path ( qPath , serviceName , tokenId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOpenTSDBToken . class ) ; } | Get a OpenTSDB token | 118 | 6 |
13,047 | public OvhOpenTSDBToken serviceName_token_opentsdb_POST ( String serviceName , String description , String permission , OvhTag [ ] tags ) throws IOException { String qPath = "/dbaas/timeseries/{serviceName}/token/opentsdb" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "permission" , permission ) ; addBody ( o , "tags" , tags ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOpenTSDBToken . class ) ; } | Create a OpenTSDB token | 174 | 6 |
13,048 | public OvhKey serviceName_key_POST ( String serviceName , String description , String [ ] permissions , OvhTag [ ] tags ) throws IOException { String qPath = "/dbaas/timeseries/{serviceName}/key" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "permissions" , permissions ) ; addBody ( o , "tags" , tags ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhKey . class ) ; } | Create a key for a project | 162 | 6 |
13,049 | public OvhTask serviceName_dedicatedCloudDatacenter_datacenter_move_POST ( String serviceName , String datacenter , String targetServiceName ) throws IOException { String qPath = "/vrack/{serviceName}/dedicatedCloudDatacenter/{datacenter}/move" ; StringBuilder sb = path ( qPath , serviceName , datacenter ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "targetServiceName" , targetServiceName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Move your dedicatedCloud datacenter from a Vrack to another | 160 | 13 |
13,050 | public ArrayList < OvhMrtgTimestampValue > serviceName_dedicatedServer_dedicatedServer_mrtg_GET ( String serviceName , String dedicatedServer , OvhMrtgPeriodEnum period , OvhMrtgTypeEnum type ) throws IOException { String qPath = "/vrack/{serviceName}/dedicatedServer/{dedicatedServer}/mrtg" ; StringBuilder sb = path ( qPath , serviceName , dedicatedServer ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Retrieve vrack traffic graph values | 163 | 7 |
13,051 | public ArrayList < OvhVrackZoneEnum > serviceName_ip_ip_availableZone_GET ( String serviceName , String ip ) throws IOException { String qPath = "/vrack/{serviceName}/ip/{ip}/availableZone" ; StringBuilder sb = path ( qPath , serviceName , ip ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Zone available to announce your block | 108 | 6 |
13,052 | public OvhTask serviceName_account_userPrincipalName_sync_POST ( String serviceName , String userPrincipalName , OvhSyncLicenseEnum license ) throws IOException { String qPath = "/msServices/{serviceName}/account/{userPrincipalName}/sync" ; StringBuilder sb = path ( qPath , serviceName , userPrincipalName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "license" , license ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create new sync account | 153 | 4 |
13,053 | public OvhTask serviceName_account_userPrincipalName_mfa_disable_POST ( String serviceName , String userPrincipalName , Long period ) throws IOException { String qPath = "/msServices/{serviceName}/account/{userPrincipalName}/mfa/disable" ; StringBuilder sb = path ( qPath , serviceName , userPrincipalName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "period" , period ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Disable Multi Factor Authentication for a period of time | 154 | 9 |
13,054 | public OvhExchangeTask serviceName_account_userPrincipalName_exchange_configure_POST ( String serviceName , String userPrincipalName ) throws IOException { String qPath = "/msServices/{serviceName}/account/{userPrincipalName}/exchange/configure" ; StringBuilder sb = path ( qPath , serviceName , userPrincipalName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhExchangeTask . class ) ; } | Configure mailbox to be operational | 125 | 6 |
13,055 | public ArrayList < Long > ip_phishing_GET ( String ip , String ipOnAntiphishing , OvhAntiphishingStateEnum state ) throws IOException { String qPath = "/ip/{ip}/phishing" ; StringBuilder sb = path ( qPath , ip ) ; query ( sb , "ipOnAntiphishing" , ipOnAntiphishing ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Ip under anti - phishing | 131 | 7 |
13,056 | public void ip_delegation_target_DELETE ( String ip , String target ) throws IOException { String qPath = "/ip/{ip}/delegation/{target}" ; StringBuilder sb = path ( qPath , ip , target ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a target for reverse delegation on IPv6 subnet | 81 | 11 |
13,057 | public OvhReverseDelegation ip_delegation_POST ( String ip , String target ) throws IOException { String qPath = "/ip/{ip}/delegation" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "target" , target ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhReverseDelegation . class ) ; } | Add target for reverse delegation on IPv6 subnet | 130 | 10 |
13,058 | public OvhSpamIp ip_spam_ipSpamming_unblock_POST ( String ip , String ipSpamming ) throws IOException { String qPath = "/ip/{ip}/spam/{ipSpamming}/unblock" ; StringBuilder sb = path ( qPath , ip , ipSpamming ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSpamIp . class ) ; } | Release the ip from anti - spam system | 118 | 8 |
13,059 | public ArrayList < OvhSpamStats > ip_spam_ipSpamming_stats_GET ( String ip , String ipSpamming , Date from , Date to ) throws IOException { String qPath = "/ip/{ip}/spam/{ipSpamming}/stats" ; StringBuilder sb = path ( qPath , ip , ipSpamming ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Get statistics about the email traffic | 143 | 6 |
13,060 | public void ip_arp_ipBlocked_unblock_POST ( String ip , String ipBlocked ) throws IOException { String qPath = "/ip/{ip}/arp/{ipBlocked}/unblock" ; StringBuilder sb = path ( qPath , ip , ipBlocked ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; } | Unblock this IP | 88 | 4 |
13,061 | public OvhIpMigrationToken ip_migrationToken_POST ( String ip , String customerId ) throws IOException { String qPath = "/ip/{ip}/migrationToken" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "customerId" , customerId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIpMigrationToken . class ) ; } | Generate a migration token | 132 | 5 |
13,062 | public ArrayList < Long > ip_game_ipOnGame_rule_GET ( String ip , String ipOnGame ) throws IOException { String qPath = "/ip/{ip}/game/{ipOnGame}/rule" ; StringBuilder sb = path ( qPath , ip , ipOnGame ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | IDs of rules configured for this IP | 103 | 7 |
13,063 | public OvhGameMitigationRule ip_game_ipOnGame_rule_POST ( String ip , String ipOnGame , OvhRange < Long > ports , OvhGameMitigationRuleProtocolEnum protocol ) throws IOException { String qPath = "/ip/{ip}/game/{ipOnGame}/rule" ; StringBuilder sb = path ( qPath , ip , ipOnGame ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ports" , ports ) ; addBody ( o , "protocol" , protocol ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhGameMitigationRule . class ) ; } | Add new rule on your IP | 175 | 6 |
13,064 | public void ip_reverse_ipReverse_DELETE ( String ip , String ipReverse ) throws IOException { String qPath = "/ip/{ip}/reverse/{ipReverse}" ; StringBuilder sb = path ( qPath , ip , ipReverse ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a reverse on one IP | 89 | 6 |
13,065 | public OvhReverseIp ip_reverse_POST ( String ip , String ipReverse , String reverse ) throws IOException { String qPath = "/ip/{ip}/reverse" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipReverse" , ipReverse ) ; addBody ( o , "reverse" , reverse ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhReverseIp . class ) ; } | Add reverse on an ip | 148 | 5 |
13,066 | public OvhIpTask ip_move_POST ( String ip , String nexthop , String to ) throws IOException { String qPath = "/ip/{ip}/move" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "nexthop" , nexthop ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIpTask . class ) ; } | Move this IP to another service | 143 | 6 |
13,067 | public OvhDestinations ip_move_GET ( String ip ) throws IOException { String qPath = "/ip/{ip}/move" ; StringBuilder sb = path ( qPath , ip ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDestinations . class ) ; } | List services available as a destination | 83 | 6 |
13,068 | public ArrayList < String > ip_license_plesk_GET ( String ip , String ipAddress ) throws IOException { String qPath = "/ip/{ip}/license/plesk" ; StringBuilder sb = path ( qPath , ip ) ; query ( sb , "ipAddress" , ipAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Plesk licenses associated to this IP | 104 | 8 |
13,069 | public OvhIpTask ip_park_POST ( String ip ) throws IOException { String qPath = "/ip/{ip}/park" ; StringBuilder sb = path ( qPath , ip ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhIpTask . class ) ; } | Park this IP | 85 | 3 |
13,070 | public ArrayList < OvhMitigationStats > ip_mitigation_ipOnMitigation_stats_GET ( String ip , String ipOnMitigation , Date from , OvhMitigationStatsScaleEnum scale , Date to ) throws IOException { String qPath = "/ip/{ip}/mitigation/{ipOnMitigation}/stats" ; StringBuilder sb = path ( qPath , ip , ipOnMitigation ) ; query ( sb , "from" , from ) ; query ( sb , "scale" , scale ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | AntiDDOS option . Get statistics about your traffic in and out during this mitigation | 165 | 16 |
13,071 | public ArrayList < OvhMitigationDetailedStats > ip_mitigation_ipOnMitigation_topStream_GET ( String ip , String ipOnMitigation , Date date , OvhMitigationStatsScaleEnum scale ) throws IOException { String qPath = "/ip/{ip}/mitigation/{ipOnMitigation}/topStream" ; StringBuilder sb = path ( qPath , ip , ipOnMitigation ) ; query ( sb , "date" , date ) ; query ( sb , "scale" , scale ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | AntiDDOS option . Get top stream on your ip on a specific timestamp | 153 | 15 |
13,072 | public ArrayList < String > ip_mitigation_GET ( String ip , Boolean auto , OvhMitigationStateEnum state ) throws IOException { String qPath = "/ip/{ip}/mitigation" ; StringBuilder sb = path ( qPath , ip ) ; query ( sb , "auto" , auto ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Ip under mitigation | 118 | 4 |
13,073 | public OvhMitigationIp ip_mitigation_POST ( String ip , String ipOnMitigation ) throws IOException { String qPath = "/ip/{ip}/mitigation" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipOnMitigation" , ipOnMitigation ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhMitigationIp . class ) ; } | AntiDDOS option . Add new IP on permanent mitigation | 133 | 11 |
13,074 | public OvhIpTask ip_changeOrg_POST ( String ip , String organisation ) throws IOException { String qPath = "/ip/{ip}/changeOrg" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "organisation" , organisation ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIpTask . class ) ; } | Change organisation of this IP | 123 | 5 |
13,075 | public void ip_mitigationProfiles_ipMitigationProfile_DELETE ( String ip , String ipMitigationProfile ) throws IOException { String qPath = "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}" ; StringBuilder sb = path ( qPath , ip , ipMitigationProfile ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete mitigation profile | 95 | 3 |
13,076 | public OvhMitigationProfile ip_mitigationProfiles_POST ( String ip , OvhMitigationProfileAutoMitigationTimeOutEnum autoMitigationTimeOut , String ipMitigationProfile ) throws IOException { String qPath = "/ip/{ip}/mitigationProfiles" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "autoMitigationTimeOut" , autoMitigationTimeOut ) ; addBody ( o , "ipMitigationProfile" , ipMitigationProfile ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhMitigationProfile . class ) ; } | Create new profile for one of your ip | 173 | 8 |
13,077 | public ArrayList < String > ip_firewall_GET ( String ip , Boolean enabled , OvhFirewallStateEnum state ) throws IOException { String qPath = "/ip/{ip}/firewall" ; StringBuilder sb = path ( qPath , ip ) ; query ( sb , "enabled" , enabled ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Ip under firewall | 118 | 4 |
13,078 | public OvhFirewallIp ip_firewall_POST ( String ip , String ipOnFirewall ) throws IOException { String qPath = "/ip/{ip}/firewall" ; StringBuilder sb = path ( qPath , ip ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipOnFirewall" , ipOnFirewall ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFirewallIp . class ) ; } | AntiDDOS option . Add new IP on firewall | 133 | 10 |
13,079 | public ArrayList < Long > ip_firewall_ipOnFirewall_rule_GET ( String ip , String ipOnFirewall , OvhFirewallRuleStateEnum state ) throws IOException { String qPath = "/ip/{ip}/firewall/{ipOnFirewall}/rule" ; StringBuilder sb = path ( qPath , ip , ipOnFirewall ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Rules for this IP | 131 | 4 |
13,080 | public OvhFirewallNetworkRule ip_firewall_ipOnFirewall_rule_POST ( String ip , String ipOnFirewall , OvhFirewallActionEnum action , Long destinationPort , OvhFirewallProtocolEnum protocol , OvhFirewallSequenceRangeEnum sequence , String source , Long sourcePort , OvhFirewallOptionTCP tcpOption ) throws IOException { String qPath = "/ip/{ip}/firewall/{ipOnFirewall}/rule" ; StringBuilder sb = path ( qPath , ip , ipOnFirewall ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "destinationPort" , destinationPort ) ; addBody ( o , "protocol" , protocol ) ; addBody ( o , "sequence" , sequence ) ; addBody ( o , "source" , source ) ; addBody ( o , "sourcePort" , sourcePort ) ; addBody ( o , "tcpOption" , tcpOption ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFirewallNetworkRule . class ) ; } | AntiDDOS option . Add new rule on your IP | 280 | 11 |
13,081 | public ArrayList < String > GET ( String description , String ip , String routedTo_serviceName , OvhIpTypeEnum type ) throws IOException { String qPath = "/ip" ; StringBuilder sb = path ( qPath ) ; query ( sb , "description" , description ) ; query ( sb , "ip" , ip ) ; query ( sb , "routedTo.serviceName" , routedTo_serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Your OVH IPs | 144 | 6 |
13,082 | public OvhLoadBalancingTask loadBalancing_serviceName_importCustomSsl_POST ( String serviceName , String certificate , String chain , String key ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/importCustomSsl" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "certificate" , certificate ) ; addBody ( o , "chain" , chain ) ; addBody ( o , "key" , key ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Import your own ssl certificate on your IP load balancing . Ssl option is needed to use this url . | 171 | 22 |
13,083 | public String loadBalancing_serviceName_internalNatIp_GET ( String serviceName , OvhLoadBalancingZoneEnum zone ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/internalNatIp" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "zone" , zone ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , String . class ) ; } | Ip subnet used by OVH to nat requests on your ip lb to your backends . You must ensure that your backends are not part of a network that overlap with this one . | 117 | 40 |
13,084 | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_setWeight_POST ( String serviceName , String backend , Long weight ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/setWeight" ; StringBuilder sb = path ( qPath , serviceName , backend ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Set the weight of a backend . For instance if backend A has a weight of 8 and backup B was a weight of 16 backend B will receive twice more connections as backend A . Backends must be on the same POP for the weight parameter to take effect between them . | 155 | 54 |
13,085 | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_backupState_POST ( String serviceName , String backend , Boolean backupStateSet , String mainBackendIp ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/backupState" ; StringBuilder sb = path ( qPath , serviceName , backend ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "backupStateSet" , backupStateSet ) ; addBody ( o , "mainBackendIp" , mainBackendIp ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Set or unset the backend as a backup of another backend . Requests will be directed to the backup only if the main backend is in probe fail | 191 | 30 |
13,086 | public OvhLoadBalancingTask loadBalancing_serviceName_backend_POST ( String serviceName , String ipBackend , OvhLoadBalancingBackendProbeEnum probe , Long weight ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/backend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipBackend" , ipBackend ) ; addBody ( o , "probe" , probe ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Add a new backend on your IP load balancing | 183 | 9 |
13,087 | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_srcPort_DELETE ( String serviceName , net . minidev . ovh . api . ip . OvhLoadBalancingAdditionalPortEnum srcPort ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection/{srcPort}" ; StringBuilder sb = path ( qPath , serviceName , srcPort ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Delete a port redirection | 142 | 5 |
13,088 | public ArrayList < OvhLoadBalancingAdditionalPortEnum > loadBalancing_serviceName_portsRedirection_GET ( String serviceName ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Get all srcPort | 104 | 4 |
13,089 | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_POST ( String serviceName , OvhLoadBalancingPort body ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , body ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Add a new port redirection | 111 | 6 |
13,090 | public OvhLoadBalancingTask loadBalancing_serviceName_stickiness_POST ( String serviceName , OvhLoadBalancingStickinessEnum stickiness ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/stickiness" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "stickiness" , stickiness ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; } | Set Stickiness type . ipSource will stick clients to a backend by their source ip cookie will stick them by inserting a cookie none is to set no stickiness | 148 | 32 |
13,091 | public ArrayList < String > loadBalancing_serviceName_probeIp_GET ( String serviceName , OvhLoadBalancingZoneEnum zone ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/probeIp" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "zone" , zone ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Ip subnet used to send probes to your backends | 120 | 12 |
13,092 | public OvhCompany register_company_POST ( OvhOVHCertifications OVHCertifications , OvhOVHCustomersAdvisedEnum OVHCustomersAdvised , OvhKnowledgeResourcesRangeEnum OVHKnowledgeResources , OvhOVHProductsUsed OVHProductsUsed , OvhTechnicalAdvancedResourcesRangeEnum OVHTechnicalAdvancedResources , OvhTechnicalExpertResourcesRangeEnum OVHTechnicalExpertResources , OvhActivitySectors activitySectors , String address , String city , OvhClientKinds clientKinds , String commercialName , OvhCountryEnum country , String description , String email , OvhEmployeesNumberEnum employeesNumber , OvhExpertisesChoices expertises , OvhExternalCertifications externalCertifications , String facebook , String linkedin , String logo , String name , OvhPartnerKnowledges partnerKnowledges , String phone , OvhProductCountries productCountries , String registrationNumber , OvhRevenueRangeEnum revenue , String twitter , String website , String zipCode ) throws IOException { String qPath = "/partners/register/company" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "OVHCertifications" , OVHCertifications ) ; addBody ( o , "OVHCustomersAdvised" , OVHCustomersAdvised ) ; addBody ( o , "OVHKnowledgeResources" , OVHKnowledgeResources ) ; addBody ( o , "OVHProductsUsed" , OVHProductsUsed ) ; addBody ( o , "OVHTechnicalAdvancedResources" , OVHTechnicalAdvancedResources ) ; addBody ( o , "OVHTechnicalExpertResources" , OVHTechnicalExpertResources ) ; addBody ( o , "activitySectors" , activitySectors ) ; addBody ( o , "address" , address ) ; addBody ( o , "city" , city ) ; addBody ( o , "clientKinds" , clientKinds ) ; addBody ( o , "commercialName" , commercialName ) ; addBody ( o , "country" , country ) ; addBody ( o , "description" , description ) ; addBody ( o , "email" , email ) ; addBody ( o , "employeesNumber" , employeesNumber ) ; addBody ( o , "expertises" , expertises ) ; addBody ( o , "externalCertifications" , externalCertifications ) ; addBody ( o , "facebook" , facebook ) ; addBody ( o , "linkedin" , linkedin ) ; addBody ( o , "logo" , logo ) ; addBody ( o , "name" , name ) ; addBody ( o , "partnerKnowledges" , partnerKnowledges ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "productCountries" , productCountries ) ; addBody ( o , "registrationNumber" , registrationNumber ) ; addBody ( o , "revenue" , revenue ) ; addBody ( o , "twitter" , twitter ) ; addBody ( o , "website" , website ) ; addBody ( o , "zipCode" , zipCode ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhCompany . class ) ; } | Created a new company for the inscription | 773 | 7 |
13,093 | public OvhCompany register_company_companyId_GET ( String companyId ) throws IOException { String qPath = "/partners/register/company/{companyId}" ; StringBuilder sb = path ( qPath , companyId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhCompany . class ) ; } | Get information on a created company | 89 | 6 |
13,094 | public OvhContact register_company_companyId_contact_POST ( String companyId , String email , String facebook , String firstName , String lastName , String linkedin , Boolean newsletter , OvhNic [ ] otherNics , String phone , String role , String twitter ) throws IOException { String qPath = "/partners/register/company/{companyId}/contact" ; StringBuilder sb = path ( qPath , companyId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; addBody ( o , "facebook" , facebook ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "linkedin" , linkedin ) ; addBody ( o , "newsletter" , newsletter ) ; addBody ( o , "otherNics" , otherNics ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "role" , role ) ; addBody ( o , "twitter" , twitter ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhContact . class ) ; } | Created a new contact for the inscription | 284 | 7 |
13,095 | public OvhApplication register_company_companyId_application_POST ( String companyId , Boolean termsAndConditionsOfServiceAccepted ) throws IOException { String qPath = "/partners/register/company/{companyId}/application" ; StringBuilder sb = path ( qPath , companyId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "termsAndConditionsOfServiceAccepted" , termsAndConditionsOfServiceAccepted ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhApplication . class ) ; } | Submit application information for validation | 150 | 5 |
13,096 | public static DB database ( String url , String user , String password ) throws SQLException { return database ( DriverManager . getConnection ( url , user , password ) ) ; } | Create a new database handle for given database URL user and password . | 38 | 13 |
13,097 | public static < T > TypedDataSet < T > data ( DataSource dataSource , Conversion < T > conv ) { return new TypedDataSet <> ( dataSource , conv ) ; } | Create a new typed data set . | 42 | 7 |
13,098 | @ SafeVarargs public static Query query ( DB db , String sql , Object ... args ) { return new Query ( db , sql , args ) ; } | Create a query data source from given SQL code . | 32 | 10 |
13,099 | @ SafeVarargs public static void takeSnapshot ( DataSource ... dataSources ) { ensureDistinctDataSources ( dataSources , Function . identity ( ) ) ; foreach ( dataSources , ( callInfo , dataSource ) -> dataSource . executeQuery ( callInfo , true ) , CallInfo . create ( ) ) ; } | Take a database snapshot for several data sources . | 69 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.