idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
12,800 | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_POST ( String organizationName , String exchangeService , Long notifiedAccountId ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "notifiedAccountId" , notifiedAccountId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Subscribe new address to ActiveSync quarantine notifications | 166 | 8 |
12,801 | public OvhSharedAccountQuota organizationName_service_exchangeService_sharedAccountQuota_GET ( String organizationName , String exchangeService ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccountQuota" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSharedAccountQuota . class ) ; } | Get shared account quota usage in total available space | 124 | 9 |
12,802 | public ArrayList < OvhOutlookVersions > organizationName_service_exchangeService_outlookAvailability_GET ( String organizationName , String exchangeService , OvhLanguageEnum outlookLanguage , OvhOutlookVersionEnum outlookVersion ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/outlookAvailability" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "outlookLanguage" , outlookLanguage ) ; query ( sb , "outlookVersion" , outlookVersion ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Show available outlooks | 165 | 4 |
12,803 | public OvhTask organizationName_service_exchangeService_resourceAccount_POST ( String organizationName , String exchangeService , Boolean addOrganizerToSubject , Boolean allowConflict , Long bookingWindow , Long capacity , Boolean deleteComments , Boolean deleteSubject , String displayName , String location , Long maximumDuration , String resourceEmailAddress , OvhShowMeetingDetailsEnum showMeetingDetails , OvhResourceTypeEnum type ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/resourceAccount" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "addOrganizerToSubject" , addOrganizerToSubject ) ; addBody ( o , "allowConflict" , allowConflict ) ; addBody ( o , "bookingWindow" , bookingWindow ) ; addBody ( o , "capacity" , capacity ) ; addBody ( o , "deleteComments" , deleteComments ) ; addBody ( o , "deleteSubject" , deleteSubject ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "location" , location ) ; addBody ( o , "maximumDuration" , maximumDuration ) ; addBody ( o , "resourceEmailAddress" , resourceEmailAddress ) ; addBody ( o , "showMeetingDetails" , showMeetingDetails ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | create new resource account in exchange server | 373 | 7 |
12,804 | public TypedDataSet < T > rows ( Collection < ? extends T > rows ) { for ( T rowObj : rows ) { super . row ( conv . convert ( rowObj ) ) ; } return this ; } | Add rows in a collection to the data set . | 46 | 10 |
12,805 | public ArrayList < Long > serviceName_tasks_GET ( String serviceName , OvhActionType action , OvhTaskStateEnum status ) throws IOException { String qPath = "/license/worklight/{serviceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "action" , action ) ; query ( sb , "status" , status ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Tasks linked to this license | 127 | 6 |
12,806 | public OvhChangeIpStatus serviceName_canLicenseBeMovedTo_GET ( String serviceName , String destinationIp ) throws IOException { String qPath = "/license/virtuozzo/{serviceName}/canLicenseBeMovedTo" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "destinationIp" , destinationIp ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhChangeIpStatus . class ) ; } | Will tell if the ip can accept the license | 127 | 9 |
12,807 | public ArrayList < OvhVirtuozzoOrderConfiguration > orderableVersions_GET ( String ip ) throws IOException { String qPath = "/license/virtuozzo/orderableVersions" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ip" , ip ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Get the orderable Virtuozzo versions | 99 | 8 |
12,808 | public DataSetBuilder generate ( int count ) { ensureValid ( count , count > 0 ) ; DataSource source = data . getSource ( ) ; int columnCount = data . getSource ( ) . getColumnCount ( ) ; if ( fillerCount < fillers . length ) { for ( int c = 0 ; c < columnCount ; c ++ ) { if ( fillers [ c ] == null ) { throw new InvalidOperationException ( "No filler is set for column '" + source . getColumnName ( c ) ) ; } } throw new InternalErrorException ( "Filler count does not match fillers set." ) ; } for ( int r = 0 ; r < count ; r ++ ) { Object [ ] colData = new Object [ columnCount ] ; for ( int c = 0 ; c < columnCount ; c ++ ) { try { colData [ c ] = fillers [ c ] . next ( ) ; } catch ( Exception e ) { throw new ColumnFillerException ( "Error evaluating filler for '" + source . getColumnName ( c ) + "'" , e ) ; } } data . addRow ( new Row ( colData ) ) ; } return this ; } | Associate a number of rows to the data set according to the current column fillers configuration . | 253 | 19 |
12,809 | public DataSetBuilder set ( String column , ColumnFiller < ? > filler ) { ensureArgNotNull ( column ) ; ensureArgNotNull ( filler ) ; if ( ! data . getSource ( ) . getDB ( ) . isEnabled ( DB . Option . CASE_SENSITIVE_COLUMN_NAMES ) ) { column = column . toUpperCase ( ) ; } Integer idx = columnIdx . get ( column ) ; if ( idx == null ) { throw new InvalidOperationException ( "Invalid column name: '" + column + "'." ) ; } if ( fillers [ idx ] == null ) { fillerCount ++ ; } fillers [ idx ] = filler ; return this ; } | Set filler for column . | 155 | 5 |
12,810 | public DataSetBuilder remainingColumnsNull ( ) { for ( int i = 0 ; i < fillers . length ; i ++ ) { if ( fillers [ i ] == null ) { fillers [ i ] = NULL_FILLER ; fillerCount ++ ; } } return this ; } | Set the NULL value filler for all remaining columns . | 62 | 10 |
12,811 | public DataSetBuilder value ( String column , Object constant ) { return set ( column , new ConstantFiller < Object > ( constant ) ) ; } | Set a constant value filler for a column . | 31 | 9 |
12,812 | public < E extends Enum < ? > > DataSetBuilder value ( String column , E enumConstant ) { return value ( column , enumConstant . toString ( ) ) ; } | Set a constant enum value for a column converting the enumeration constant to a string . | 40 | 17 |
12,813 | public < T > DataSetBuilder sequence ( String column , T initial , UnaryOperator < T > step ) { ensureArgNotNull ( initial ) ; ensureArgNotNull ( step ) ; return set ( column , new StdSeqFiller < T > ( initial , step ) ) ; } | Set a sequence filler using a step - function . | 64 | 10 |
12,814 | public DataSetBuilder sequence ( String column , IntFunction < ? > step , int initial ) { ensureArgNotNull ( step ) ; return set ( column , new SequenceFiller ( step , initial ) ) ; } | Set sequence filler using a index - based step - function . | 45 | 12 |
12,815 | @ SafeVarargs public final < T > DataSetBuilder sequence ( String column , T ... values ) { ensureValidArray ( values ) ; return sequence ( column , i -> values [ i % values . length ] ) ; } | Set sequence filler using array values . | 47 | 7 |
12,816 | public DataSetBuilder sequence ( String column , List < ? > values ) { ensureValidList ( values ) ; return sequence ( column , i -> values . get ( i % values . size ( ) ) ) ; } | Set sequence filler using a list of values . | 45 | 9 |
12,817 | @ SafeVarargs public final < T > DataSetBuilder random ( String column , T ... values ) { ensureValidArray ( values ) ; return set ( column , ( ) -> values [ rng . nextInt ( values . length ) ] ) ; } | Set random filler for column using an array of values . | 53 | 11 |
12,818 | public DataSetBuilder random ( String column , List < ? > values ) { ensureValidList ( values ) ; return set ( column , ( ) -> values . get ( rng . nextInt ( values . size ( ) ) ) ) ; } | Set random filler for column using a list of values . | 51 | 11 |
12,819 | private long nextRandomLong ( long a , long b ) { return a + ( rng . nextLong ( ) & Long . MAX_VALUE ) % ( b - a + 1 ) ; } | Auxiliary method that generates a pseudo - random long within a given internal | 41 | 15 |
12,820 | public DataSetBuilder random ( String column , Function < Random , ? > gen ) { return set ( column , ( ) -> gen . apply ( rng ) ) ; } | Set customized random filler . | 36 | 5 |
12,821 | private static < T extends Comparable < T > > void ensureValidRange ( T min , T max ) { if ( min == null ) { throw new InvalidOperationException ( "Null value for minimum." ) ; } if ( max == null ) { throw new InvalidOperationException ( "Null value for maximum." ) ; } if ( min . compareTo ( max ) >= 0 ) { throw new InvalidOperationException ( "Invalid range: " + min + " >= " + max ) ; } } | Range validation utility method . | 103 | 5 |
12,822 | static void deltaAssertion ( CallInfo callInfo , DataSet oldData , DataSet newData ) { validateDeltaAssertion ( oldData , newData ) ; final DataSource source = oldData . getSource ( ) ; final DB db = source . getDB ( ) ; final DataSet snapshot = source . getSnapshot ( ) ; final DataSet stateNow = source . executeQuery ( callInfo , false ) ; final Delta dbDelta = new Delta ( snapshot , stateNow ) ; final Delta oldDataMatch = new Delta ( oldData . getRows ( ) . iterator ( ) , dbDelta . deleted ( ) ) ; final Delta newDataMatch = new Delta ( newData . getRows ( ) . iterator ( ) , dbDelta . inserted ( ) ) ; final DeltaAssertion da = new DeltaAssertion ( oldData , newData , oldDataMatch , newDataMatch ) ; db . log ( callInfo , da ) ; source . setDirtyStatus ( ! da . passed ( ) || oldData . size ( ) > 0 || newData . size ( ) > 0 ) ; if ( ! da . passed ( ) ) { throw new DBAssertionError ( callInfo . getMessage ( ) ) ; } } | Perform a delta assertion . | 265 | 6 |
12,823 | static void stateAssertion ( CallInfo callInfo , DataSet expected ) { DataSource source = expected . getSource ( ) ; source . setDirtyStatus ( true ) ; dataSetAssertion ( callInfo , expected , source . executeQuery ( callInfo , false ) ) ; } | Perform a database state assertion . | 62 | 7 |
12,824 | static void dataSetAssertion ( CallInfo callInfo , DataSet expected , DataSet actual ) { validateDataSetAssertion ( expected , actual ) ; DataSource source = expected . getSource ( ) ; Delta delta = new Delta ( expected , actual ) ; DataSetAssertion assertion = new DataSetAssertion ( expected , delta ) ; source . getDB ( ) . log ( callInfo , assertion ) ; if ( ! assertion . passed ( ) ) { throw new DBAssertionError ( callInfo . getMessage ( ) ) ; } } | Perform a data set assertion . | 120 | 7 |
12,825 | static void assertTableExistence ( CallInfo callInfo , DB db , String tableName , boolean expected ) { boolean actual = tableExists ( callInfo , db , tableName ) ; SimpleAssertion assertion = new SimpleAssertion ( null , expected , actual ) ; db . log ( callInfo , assertion ) ; if ( ! assertion . passed ( ) ) { throw new DBAssertionError ( callInfo . getMessage ( ) ) ; } } | Assert if table exists or not . | 98 | 8 |
12,826 | private static boolean tableExists ( CallInfo callInfo , DB db , String tableName ) { return db . access ( callInfo , ( ) -> { DatabaseMetaData dbmd = db . getConnection ( ) . getMetaData ( ) ; try ( ResultSet rs = dbmd . getTables ( null , null , null , new String [ ] { "TABLE" } ) ) { while ( rs . next ( ) ) { if ( tableName . equalsIgnoreCase ( rs . getString ( "TABLE_NAME" ) ) ) { return true ; } } } return false ; } ) ; } | Check if table exists . | 128 | 5 |
12,827 | public OvhTask serviceName_node_hostname_role_POST ( String serviceName , String hostname , OvhRoleTypeEnum type ) throws IOException { String qPath = "/cluster/hadoop/{serviceName}/node/{hostname}/role" ; StringBuilder sb = path ( qPath , serviceName , hostname ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add the Role to the Node | 149 | 6 |
12,828 | public ArrayList < String > serviceName_node_GET ( String serviceName , OvhNodeProfileEnum softwareProfile ) throws IOException { String qPath = "/cluster/hadoop/{serviceName}/node" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "softwareProfile" , softwareProfile ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Nodes of the Cluster | 112 | 5 |
12,829 | public ArrayList < OvhNodeConsumption > serviceName_nodeConsumptions_GET ( String serviceName ) throws IOException { String qPath = "/cluster/hadoop/{serviceName}/nodeConsumptions" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Get the current node consumptions that you will billed for on the next bill | 99 | 15 |
12,830 | public OvhTask serviceName_user_POST ( String serviceName , Boolean clouderaManager , Boolean httpFrontend , Boolean hue , String password , String username ) throws IOException { String qPath = "/cluster/hadoop/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "clouderaManager" , clouderaManager ) ; addBody ( o , "httpFrontend" , httpFrontend ) ; addBody ( o , "hue" , hue ) ; addBody ( o , "password" , password ) ; addBody ( o , "username" , username ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add an User to your cluster | 204 | 6 |
12,831 | public OvhOrderInformations orderInformations_GET ( ) throws IOException { String qPath = "/cluster/hadoop/orderInformations" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOrderInformations . class ) ; } | Get informations about the order of one cluster | 88 | 9 |
12,832 | public OvhOfficeTask serviceName_subscription_POST ( String serviceName , Long licenseId , Long quantity ) throws IOException { String qPath = "/saas/csp2/{serviceName}/subscription" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "licenseId" , licenseId ) ; addBody ( o , "quantity" , quantity ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; } | Add a subscription to this tenant | 148 | 6 |
12,833 | public OvhOfficeTask serviceName_changeAdministratorPassword_POST ( String serviceName , String newPassword ) throws IOException { String qPath = "/saas/csp2/{serviceName}/changeAdministratorPassword" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "newPassword" , newPassword ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; } | Changes the tenant administrator s password | 136 | 6 |
12,834 | public ArrayList < OvhStatistics > serviceName_usageStatistics_GET ( String serviceName , OvhLicensePeriodEnum timePeriod ) throws IOException { String qPath = "/saas/csp2/{serviceName}/usageStatistics" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "timePeriod" , timePeriod ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Get the usage statistics over the chose period | 120 | 8 |
12,835 | public OvhBalanceInformations credits_GET ( ) throws IOException { String qPath = "/freefax/credits" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhBalanceInformations . class ) ; } | Get the credit balance and the remaining pages available for all our freefax | 79 | 14 |
12,836 | public ArrayList < String > service_account_GET ( String service , Long id , String primaryEmailAddress ) throws IOException { String qPath = "/email/mxplan/{service}/account" ; StringBuilder sb = path ( qPath , service ) ; query ( sb , "id" , id ) ; query ( sb , "primaryEmailAddress" , primaryEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Accounts associated to this mxplan service | 119 | 9 |
12,837 | public OvhTask service_externalContact_externalEmailAddress_DELETE ( String service , String externalEmailAddress ) throws IOException { String qPath = "/email/mxplan/{service}/externalContact/{externalEmailAddress}" ; StringBuilder sb = path ( qPath , service , externalEmailAddress ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | delete external contact | 108 | 3 |
12,838 | public OvhTask service_domain_domainName_disclaimer_DELETE ( String service , String domainName ) throws IOException { String qPath = "/email/mxplan/{service}/domain/{domainName}/disclaimer" ; StringBuilder sb = path ( qPath , service , domainName ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | Delete existing organization disclaimer | 109 | 4 |
12,839 | public ArrayList < Long > serviceName_http_route_GET ( String serviceName , Long frontendId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/route" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "frontendId" , frontendId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | HTTP routes for this iplb | 112 | 7 |
12,840 | public OvhRouteHttp serviceName_http_route_POST ( String serviceName , OvhRouteHttpAction action , String displayName , Long frontendId , Long weight ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/route" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "frontendId" , frontendId ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRouteHttp . class ) ; } | Add a new HTTP route to your frontend | 187 | 9 |
12,841 | public OvhFrontendHttp serviceName_http_frontend_POST ( String serviceName , String [ ] allowedSource , String [ ] dedicatedIpfo , Long defaultFarmId , Long defaultSslId , Boolean disabled , String displayName , Boolean hsts , String [ ] httpHeader , String port , String redirectLocation , Boolean ssl , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/frontend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "allowedSource" , allowedSource ) ; addBody ( o , "dedicatedIpfo" , dedicatedIpfo ) ; addBody ( o , "defaultFarmId" , defaultFarmId ) ; addBody ( o , "defaultSslId" , defaultSslId ) ; addBody ( o , "disabled" , disabled ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "hsts" , hsts ) ; addBody ( o , "httpHeader" , httpHeader ) ; addBody ( o , "port" , port ) ; addBody ( o , "redirectLocation" , redirectLocation ) ; addBody ( o , "ssl" , ssl ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFrontendHttp . class ) ; } | Add a new http frontend on your IP Load Balancing | 347 | 12 |
12,842 | public ArrayList < Long > serviceName_http_farm_GET ( String serviceName , Long vrackNetworkId , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/farm" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "vrackNetworkId" , vrackNetworkId ) ; query ( sb , "zone" , zone ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | HTTP Farm for this iplb | 130 | 7 |
12,843 | public OvhBackendHttp serviceName_http_farm_POST ( String serviceName , OvhBalanceHTTPEnum balance , String displayName , Long port , OvhBackendProbe probe , OvhStickinessHTTPEnum stickiness , Long vrackNetworkId , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/http/farm" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "balance" , balance ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "probe" , probe ) ; addBody ( o , "stickiness" , stickiness ) ; addBody ( o , "vrackNetworkId" , vrackNetworkId ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackendHttp . class ) ; } | Add a new HTTP Farm on your IP Load Balancing | 254 | 11 |
12,844 | public ArrayList < Long > serviceName_quotaHistory_GET ( String serviceName , Date historizedDate_from , Date historizedDate_to , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/quotaHistory" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "historizedDate.from" , historizedDate_from ) ; query ( sb , "historizedDate.to" , historizedDate_to ) ; query ( sb , "zone" , zone ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Quota history informations per month | 162 | 7 |
12,845 | public ArrayList < OvhDefinedFarm > serviceName_definedFarms_GET ( String serviceName , Long vrackNetworkId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/definedFarms" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "vrackNetworkId" , vrackNetworkId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | List of defined farms and whether they are HTTP TCP or UDP | 119 | 12 |
12,846 | public ArrayList < OvhFarmAvailableProbe > serviceName_availableFarmProbes_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/availableFarmProbes" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Available farm probes for health checks | 98 | 6 |
12,847 | public ArrayList < OvhInstancesState > serviceName_instancesState_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/instancesState" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Get the effective state of your IPLB instances on IPLB servers | 95 | 13 |
12,848 | public ArrayList < OvhRouteAvailableAction > serviceName_availableRouteActions_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/availableRouteActions" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; } | Available route actions | 97 | 3 |
12,849 | public OvhFrontendUdp serviceName_udp_frontend_POST ( String serviceName , String [ ] dedicatedIpfo , Long defaultFarmId , Boolean disabled , String displayName , String port , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/udp/frontend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "dedicatedIpfo" , dedicatedIpfo ) ; addBody ( o , "defaultFarmId" , defaultFarmId ) ; addBody ( o , "disabled" , disabled ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFrontendUdp . class ) ; } | Add a new UDP frontend on your IP Load Balancing | 233 | 12 |
12,850 | public OvhBackendUdp serviceName_udp_farm_POST ( String serviceName , String displayName , Long port , Long vrackNetworkId , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/udp/farm" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "vrackNetworkId" , vrackNetworkId ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackendUdp . class ) ; } | Add a new UDP Farm on your IP Load Balancing | 192 | 11 |
12,851 | public void serviceName_udp_farm_farmId_DELETE ( String serviceName , Long farmId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}" ; StringBuilder sb = path ( qPath , serviceName , farmId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete an UDP Farm | 94 | 4 |
12,852 | public OvhBackendUDPServer serviceName_udp_farm_farmId_server_POST ( String serviceName , Long farmId , String address , String displayName , Long port , OvhBackendCustomerServerStatusEnum status ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server" ; StringBuilder sb = path ( qPath , serviceName , farmId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "address" , address ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "status" , status ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackendUDPServer . class ) ; } | Add a server to an UDP Farm | 212 | 7 |
12,853 | public ArrayList < OvhDefinedRoute > serviceName_definedRoutes_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/definedRoutes" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; } | List of defined routes and whether they are HTTP or TCP | 97 | 11 |
12,854 | public ArrayList < Long > serviceName_task_GET ( String serviceName , OvhTaskActionEnum action , Date creationDate_from , Date creationDate_to , Date doneDate_from , Date doneDate_to , OvhTaskStatusEnum status ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/task" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "action" , action ) ; query ( sb , "creationDate.from" , creationDate_from ) ; query ( sb , "creationDate.to" , creationDate_to ) ; query ( sb , "doneDate.from" , doneDate_from ) ; query ( sb , "doneDate.to" , doneDate_to ) ; query ( sb , "status" , status ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Task for this iplb | 223 | 6 |
12,855 | public OvhVrackNetwork serviceName_vrack_network_vrackNetworkId_updateFarmId_POST ( String serviceName , Long vrackNetworkId , Long [ ] farmId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}/updateFarmId" ; StringBuilder sb = path ( qPath , serviceName , vrackNetworkId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "farmId" , farmId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVrackNetwork . class ) ; } | Update farm attached to that vrack network id | 169 | 9 |
12,856 | public void serviceName_vrack_network_vrackNetworkId_DELETE ( String serviceName , Long vrackNetworkId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}" ; StringBuilder sb = path ( qPath , serviceName , vrackNetworkId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete this description of a private network in the vRack . It must not be used by any farm server | 102 | 22 |
12,857 | public ArrayList < Long > serviceName_vrack_network_GET ( String serviceName , String subnet , Long vlan ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/vrack/network" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "subnet" , subnet ) ; query ( sb , "vlan" , vlan ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Descriptions of private networks in the vRack attached to this Load Balancer | 129 | 17 |
12,858 | public OvhVrackNetwork serviceName_vrack_network_POST ( String serviceName , String displayName , Long [ ] farmId , String natIp , String subnet , Long vlan ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/vrack/network" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "farmId" , farmId ) ; addBody ( o , "natIp" , natIp ) ; addBody ( o , "subnet" , subnet ) ; addBody ( o , "vlan" , vlan ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVrackNetwork . class ) ; } | Add a description of a private network in the attached vRack | 213 | 13 |
12,859 | public ArrayList < OvhPendingChanges > serviceName_pendingChanges_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/pendingChanges" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; } | List the pending changes on your Load Balancer configuration per zone | 95 | 12 |
12,860 | public OvhRouteTcp serviceName_tcp_route_POST ( String serviceName , OvhRouteTcpAction action , String displayName , Long frontendId , Long weight ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/route" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "frontendId" , frontendId ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRouteTcp . class ) ; } | Add a new TCP route to your frontend | 192 | 9 |
12,861 | public void serviceName_tcp_route_routeId_DELETE ( String serviceName , Long routeId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}" ; StringBuilder sb = path ( qPath , serviceName , routeId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete this TCP route | 94 | 4 |
12,862 | public OvhRouteRule serviceName_tcp_route_routeId_rule_POST ( String serviceName , Long routeId , String displayName , String field , OvhRouteRuleMatchesEnum match , Boolean negate , String pattern , String subField ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule" ; StringBuilder sb = path ( qPath , serviceName , routeId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "field" , field ) ; addBody ( o , "match" , match ) ; addBody ( o , "negate" , negate ) ; addBody ( o , "pattern" , pattern ) ; addBody ( o , "subField" , subField ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRouteRule . class ) ; } | Add a new rule to your route | 239 | 7 |
12,863 | public void serviceName_tcp_frontend_frontendId_DELETE ( String serviceName , Long frontendId ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}" ; StringBuilder sb = path ( qPath , serviceName , frontendId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete an TCP frontend | 100 | 5 |
12,864 | public ArrayList < Long > serviceName_tcp_frontend_GET ( String serviceName , Long defaultFarmId , String port , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "defaultFarmId" , defaultFarmId ) ; query ( sb , "port" , port ) ; query ( sb , "zone" , zone ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | TCP frontends for this iplb | 146 | 9 |
12,865 | public OvhFrontendTcp serviceName_tcp_frontend_POST ( String serviceName , String [ ] allowedSource , String [ ] dedicatedIpfo , Long defaultFarmId , Long defaultSslId , Boolean disabled , String displayName , String port , Boolean ssl , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "allowedSource" , allowedSource ) ; addBody ( o , "dedicatedIpfo" , dedicatedIpfo ) ; addBody ( o , "defaultFarmId" , defaultFarmId ) ; addBody ( o , "defaultSslId" , defaultSslId ) ; addBody ( o , "disabled" , disabled ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "ssl" , ssl ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFrontendTcp . class ) ; } | Add a new TCP frontend on your IP Load Balancing | 294 | 12 |
12,866 | public OvhBackendTcp serviceName_tcp_farm_POST ( String serviceName , OvhBalanceTCPEnum balance , String displayName , Long port , OvhBackendProbe probe , OvhStickinessTCPEnum stickiness , Long vrackNetworkId , String zone ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "balance" , balance ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "probe" , probe ) ; addBody ( o , "stickiness" , stickiness ) ; addBody ( o , "vrackNetworkId" , vrackNetworkId ) ; addBody ( o , "zone" , zone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackendTcp . class ) ; } | Add a new TCP Farm on your IP Load Balancing | 260 | 11 |
12,867 | public ArrayList < Long > serviceName_tcp_farm_farmId_server_GET ( String serviceName , Long farmId , String address , OvhBackendCustomerServerStatusEnum status ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server" ; StringBuilder sb = path ( qPath , serviceName , farmId ) ; query ( sb , "address" , address ) ; query ( sb , "status" , status ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | TCP Farm s Servers | 150 | 6 |
12,868 | public OvhBackendTCPServer serviceName_tcp_farm_farmId_server_POST ( String serviceName , Long farmId , String address , Boolean backup , String chain , String displayName , Long port , Boolean probe , OvhProxyProtocolVersionEnum proxyProtocolVersion , Boolean ssl , OvhBackendCustomerServerStatusEnum status , Long weight ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server" ; StringBuilder sb = path ( qPath , serviceName , farmId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "address" , address ) ; addBody ( o , "backup" , backup ) ; addBody ( o , "chain" , chain ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "port" , port ) ; addBody ( o , "probe" , probe ) ; addBody ( o , "proxyProtocolVersion" , proxyProtocolVersion ) ; addBody ( o , "ssl" , ssl ) ; addBody ( o , "status" , status ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackendTCPServer . class ) ; } | Add a server to a TCP Farm | 322 | 7 |
12,869 | public ArrayList < OvhRouteAvailableRule > serviceName_availableRouteRules_GET ( String serviceName ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/availableRouteRules" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t11 ) ; } | Available route match rules | 95 | 4 |
12,870 | public void serviceName_zone_name_terminate_POST ( String serviceName , String name ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/zone/{name}/terminate" ; StringBuilder sb = path ( qPath , serviceName , name ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; } | Terminate your service zone option | 87 | 6 |
12,871 | public ArrayList < Long > serviceName_ssl_GET ( String serviceName , String fingerprint , String serial , OvhSslTypeEnum type ) throws IOException { String qPath = "/ipLoadbalancing/{serviceName}/ssl" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "fingerprint" , fingerprint ) ; query ( sb , "serial" , serial ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Ssl for this iplb | 139 | 7 |
12,872 | public ArrayList < OvhTask > task_GET ( OvhTaskImpactEnum impact , OvhTaskStatusEnum status , OvhTaskTypeEnum type ) throws IOException { String qPath = "/status/task" ; StringBuilder sb = path ( qPath ) ; query ( sb , "impact" , impact ) ; query ( sb , "status" , status ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Find all the incidents or maintenances linked to your services | 132 | 12 |
12,873 | public OvhImage serviceType_imageName_GET ( net . minidev . ovh . api . distribution . image . OvhService serviceType , String imageName ) throws IOException { String qPath = "/distribution/image/{serviceType}/{imageName}" ; StringBuilder sb = path ( qPath , serviceType , imageName ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhImage . class ) ; } | Show image details | 116 | 3 |
12,874 | public ArrayList < String > serviceType_GET ( net . minidev . ovh . api . distribution . image . OvhService serviceType ) throws IOException { String qPath = "/distribution/image/{serviceType}" ; StringBuilder sb = path ( qPath , serviceType ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List images for a service | 100 | 5 |
12,875 | public OvhMondialRelayReturn POST ( String address , String city , OvhCountryEnum country , String zipcode ) throws IOException { String qPath = "/supply/mondialRelay" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "address" , address ) ; addBody ( o , "city" , city ) ; addBody ( o , "country" , country ) ; addBody ( o , "zipcode" , zipcode ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhMondialRelayReturn . class ) ; } | Find the 10 nearest MondialRelay points from address or city . | 169 | 14 |
12,876 | public OvhVpn serviceName_vpn_POST ( String serviceName , String clientIp , String clientPrivNet , String psk , String serverPrivNet ) throws IOException { String qPath = "/router/{serviceName}/vpn" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "clientIp" , clientIp ) ; addBody ( o , "clientPrivNet" , clientPrivNet ) ; addBody ( o , "psk" , psk ) ; addBody ( o , "serverPrivNet" , serverPrivNet ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVpn . class ) ; } | Add a VPN to your router | 191 | 6 |
12,877 | public OvhTask serviceName_network_POST ( String serviceName , String description , String ipNet , Long vlanTag ) throws IOException { String qPath = "/router/{serviceName}/network" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "ipNet" , ipNet ) ; addBody ( o , "vlanTag" , vlanTag ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add a network to your router | 160 | 6 |
12,878 | public String serviceName_privateLink_peerServiceName_request_manage_POST ( String serviceName , String peerServiceName , OvhPrivLinkReqActionEnum action ) throws IOException { String qPath = "/router/{serviceName}/privateLink/{peerServiceName}/request/manage" ; StringBuilder sb = path ( qPath , serviceName , peerServiceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; } | Accept reject or cancel a pending request | 156 | 7 |
12,879 | public ArrayList < OvhOsAvailabilitiesEnum > osAvailabilities_GET ( String hardware ) throws IOException { String qPath = "/dedicated/server/osAvailabilities" ; StringBuilder sb = path ( qPath ) ; query ( sb , "hardware" , hardware ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | List the os available for a specified hardware reference | 102 | 9 |
12,880 | public OvhVirtualNetworkInterface virtualNetworkInterface_uuid_GET ( String uuid ) throws IOException { String qPath = "/dedicated/server/virtualNetworkInterface/{uuid}" ; StringBuilder sb = path ( qPath , uuid ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhVirtualNetworkInterface . class ) ; } | Get VirtualNetworkInterface details | 95 | 5 |
12,881 | public ArrayList < String > serviceName_virtualNetworkInterface_GET ( String serviceName , OvhVirtualNetworkInterfaceModeEnum mode , String name , String vrack ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualNetworkInterface" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "mode" , mode ) ; query ( sb , "name" , name ) ; query ( sb , "vrack" , vrack ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List server VirtualNetworkInterfaces | 146 | 6 |
12,882 | public Boolean serviceName_orderable_feature_GET ( String serviceName , OvhOrderableSysFeatureEnum feature ) throws IOException { String qPath = "/dedicated/server/{serviceName}/orderable/feature" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "feature" , feature ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , Boolean . class ) ; } | Is this feature orderable with your server | 111 | 8 |
12,883 | public ArrayList < String > serviceName_networkInterfaceController_GET ( String serviceName , OvhNetworkInterfaceControllerLinkTypeEnum linkType ) throws IOException { String qPath = "/dedicated/server/{serviceName}/networkInterfaceController" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "linkType" , linkType ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List server networkInterfaceController | 117 | 5 |
12,884 | public ArrayList < OvhMrtgTimestampValue > serviceName_networkInterfaceController_mac_mrtg_GET ( String serviceName , String mac , OvhMrtgPeriodEnum period , OvhMrtgTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/networkInterfaceController/{mac}/mrtg" ; StringBuilder sb = path ( qPath , serviceName , mac ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Retrieve traffic graph values | 159 | 5 |
12,885 | public OvhTask serviceName_virtualMac_POST ( String serviceName , String ipAddress , OvhVmacTypeEnum type , String virtualMachineName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipAddress" , ipAddress ) ; addBody ( o , "type" , type ) ; addBody ( o , "virtualMachineName" , virtualMachineName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add a virtual mac to an IP address | 170 | 8 |
12,886 | public OvhTask serviceName_virtualMac_macAddress_virtualAddress_ipAddress_DELETE ( String serviceName , String macAddress , String ipAddress ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress}" ; StringBuilder sb = path ( qPath , serviceName , macAddress , ipAddress ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | Remove this ip from virtual mac if you remove the last linked Ip virtualmac will be deleted | 129 | 19 |
12,887 | public OvhTask serviceName_virtualMac_macAddress_virtualAddress_POST ( String serviceName , String macAddress , String ipAddress , String virtualMachineName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress" ; StringBuilder sb = path ( qPath , serviceName , macAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipAddress" , ipAddress ) ; addBody ( o , "virtualMachineName" , virtualMachineName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add an IP to this Virtual MAC | 170 | 7 |
12,888 | public ArrayList < Long > serviceName_spla_GET ( String serviceName , OvhSplaStatusEnum status , OvhSplaTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/spla" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "status" , status ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Your own SPLA licenses attached to this dedicated server | 131 | 10 |
12,889 | public Long serviceName_spla_POST ( String serviceName , String serialNumber , OvhSplaTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/spla" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "serialNumber" , serialNumber ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , Long . class ) ; } | Add a new SPLA license | 145 | 6 |
12,890 | public OvhBackupCloud serviceName_features_backupCloud_POST ( String serviceName , String cloudProjectId , String projectDescription ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/backupCloud" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "cloudProjectId" , cloudProjectId ) ; addBody ( o , "projectDescription" , projectDescription ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackupCloud . class ) ; } | Create a new storage backup space associated to server | 159 | 9 |
12,891 | public OvhTask serviceName_features_ipmi_access_POST ( String serviceName , String ipToAllow , String sshKey , OvhCacheTTLEnum ttl , OvhIpmiAccessTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/ipmi/access" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipToAllow" , ipToAllow ) ; addBody ( o , "sshKey" , sshKey ) ; addBody ( o , "ttl" , ttl ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Request an acces on KVM IPMI interface | 203 | 10 |
12,892 | public OvhIpmiAccessValue serviceName_features_ipmi_access_GET ( String serviceName , OvhIpmiAccessTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/features/ipmi/access" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhIpmiAccessValue . class ) ; } | IPMI access method | 129 | 4 |
12,893 | public ArrayList < OvhWindowsSqlVersionEnum > serviceName_license_compliantWindowsSqlServer_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/license/compliantWindowsSqlServer" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Get the windows SQL server license compliant with your server . | 108 | 11 |
12,894 | public ArrayList < OvhWindowsOsVersionEnum > serviceName_license_compliantWindows_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/license/compliantWindows" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; } | Get the windows license compliant with your server . | 101 | 9 |
12,895 | public OvhChartReturn serviceName_statistics_partition_partition_chart_GET ( String serviceName , String partition , OvhRtmChartPeriodEnum period ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/partition/{partition}/chart" ; StringBuilder sb = path ( qPath , serviceName , partition ) ; query ( sb , "period" , period ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhChartReturn . class ) ; } | Retrieve partition charts | 138 | 4 |
12,896 | public ArrayList < OvhRtmPci > serviceName_statistics_pci_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/pci" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; } | Get server PCI devices informations | 100 | 6 |
12,897 | public ArrayList < OvhRtmMemory > serviceName_statistics_memory_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/memory" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; } | Get server memory informations | 97 | 5 |
12,898 | public ArrayList < OvhRtmCommandSize > serviceName_statistics_process_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/process" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t10 ) ; } | Get server process | 98 | 3 |
12,899 | public OvhRtmDiskSmart serviceName_statistics_disk_disk_smart_GET ( String serviceName , String disk ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/disk/{disk}/smart" ; StringBuilder sb = path ( qPath , serviceName , disk ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhRtmDiskSmart . class ) ; } | Get disk smart informations | 115 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.