idx int64 0 165k | question stringlengths 73 5.81k | target stringlengths 5 918 |
|---|---|---|
12,800 | public void cart_cartId_coupon_DELETE ( String cartId , String coupon ) throws IOException { String qPath = "/order/cart/{cartId}/coupon" ; StringBuilder sb = path ( qPath , cartId ) ; query ( sb , "coupon" , coupon ) ; execN ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a coupon from cart |
12,801 | public ArrayList < OvhGenericProductDefinition > cart_cartId_csp2_GET ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}/csp2" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Get informations about SaaS CSP2 offers |
12,802 | public ArrayList < OvhGenericOptionDefinition > cart_cartId_csp2_options_GET ( String cartId , String planCode ) throws IOException { String qPath = "/order/cart/{cartId}/csp2/options" ; StringBuilder sb = path ( qPath , cartId ) ; query ( sb , "planCode" , planCode ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Get informations about SaaS CSP2 options |
12,803 | public ArrayList < OvhProductInformation > cart_cartId_domainTransfer_GET ( String cartId , String domain ) throws IOException { String qPath = "/order/cart/{cartId}/domainTransfer" ; StringBuilder sb = path ( qPath , cartId ) ; query ( sb , "domain" , domain ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; } | Get informations about a domain name transfer |
12,804 | public OvhOrder cart_cartId_summary_GET ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}/summary" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOrder . class ) ; } | Get a summary of your current order |
12,805 | public OvhTask organizationName_service_exchangeService_publicFolder_POST ( String organizationName , String exchangeService , OvhPublicFolderRightTypeEnum anonymousPermission , OvhPublicFolderRightTypeEnum defaultPermission , String path , Long quota , OvhPublicFolderTypeEnum type ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "anonymousPermission" , anonymousPermission ) ; addBody ( o , "defaultPermission" , defaultPermission ) ; addBody ( o , "path" , path ) ; addBody ( o , "quota" , quota ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create organization public folder |
12,806 | public OvhTask organizationName_service_exchangeService_publicFolder_path_permission_POST ( String organizationName , String exchangeService , String path , OvhPublicFolderRightTypeEnum accessRights , Long allowedAccountId ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder/{path}/permission" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , path ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "accessRights" , accessRights ) ; addBody ( o , "allowedAccountId" , allowedAccountId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create public folder permission |
12,807 | public OvhPublicFolderQuota organizationName_service_exchangeService_publicFolderQuota_GET ( String organizationName , String exchangeService ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolderQuota" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPublicFolderQuota . class ) ; } | Get public folder quota usage in total available space |
12,808 | public OvhTask organizationName_service_exchangeService_domain_POST ( String organizationName , String exchangeService , Boolean configureAutodiscover , Boolean configureMx , Boolean main , String mxRelay , String name , String organization2010 , OvhDomainTypeEnum type ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/domain" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "configureAutodiscover" , configureAutodiscover ) ; addBody ( o , "configureMx" , configureMx ) ; addBody ( o , "main" , main ) ; addBody ( o , "mxRelay" , mxRelay ) ; addBody ( o , "name" , name ) ; addBody ( o , "organization2010" , organization2010 ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create new domain in exchange services |
12,809 | public OvhTask organizationName_service_exchangeService_sharedAccount_POST ( String organizationName , String exchangeService , String displayName , String firstName , Boolean hiddenFromGAL , String initials , String lastName , OvhMailingFilterEnum [ ] mailingFilter , Long quota , String sharedEmailAddress ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccount" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "hiddenFromGAL" , hiddenFromGAL ) ; addBody ( o , "initials" , initials ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "mailingFilter" , mailingFilter ) ; addBody ( o , "quota" , quota ) ; addBody ( o , "sharedEmailAddress" , sharedEmailAddress ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create new shared mailbox in exchange server |
12,810 | public ArrayList < String > organizationName_service_exchangeService_externalContact_GET ( String organizationName , String exchangeService , String displayName , String externalEmailAddress , String firstName , Long id , String lastName ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/externalContact" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "displayName" , displayName ) ; query ( sb , "externalEmailAddress" , externalEmailAddress ) ; query ( sb , "firstName" , firstName ) ; query ( sb , "id" , id ) ; query ( sb , "lastName" , lastName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | External contacts for this service |
12,811 | public OvhTask organizationName_service_exchangeService_renewSSL_POST ( String organizationName , String exchangeService , String dcv ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/renewSSL" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "dcv" , dcv ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Renew SSL if it will expire in next 30 days |
12,812 | public OvhTask organizationName_service_exchangeService_activateSharepoint_POST ( String organizationName , String exchangeService , String primaryEmailAddress , String subDomain ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/activateSharepoint" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "primaryEmailAddress" , primaryEmailAddress ) ; addBody ( o , "subDomain" , subDomain ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Activate Sharepoint infra connected to this exchange service |
12,813 | public ArrayList < Long > organizationName_service_exchangeService_mailingList_mailingListAddress_member_account_GET ( String organizationName , String exchangeService , String mailingListAddress ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/account" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , mailingListAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Mailing list account member |
12,814 | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_member_contact_POST ( String organizationName , String exchangeService , String mailingListAddress , Long memberAccountId , Long memberContactId ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/contact" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , mailingListAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "memberAccountId" , memberAccountId ) ; addBody ( o , "memberContactId" , memberContactId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add new mailing list member |
12,815 | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_DELETE ( String organizationName , String exchangeService , String mailingListAddress ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , mailingListAddress ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | Delete mailing list |
12,816 | public OvhTask organizationName_service_exchangeService_mailingList_POST ( String organizationName , String exchangeService , OvhMailingListDepartRestrictionEnum departRestriction , String displayName , Boolean hiddenFromGAL , OvhMailingListJoinRestrictionEnum joinRestriction , String mailingListAddress , Long maxReceiveSize , Long maxSendSize , Boolean senderAuthentification ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "departRestriction" , departRestriction ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "hiddenFromGAL" , hiddenFromGAL ) ; addBody ( o , "joinRestriction" , joinRestriction ) ; addBody ( o , "mailingListAddress" , mailingListAddress ) ; addBody ( o , "maxReceiveSize" , maxReceiveSize ) ; addBody ( o , "maxSendSize" , maxSendSize ) ; addBody ( o , "senderAuthentification" , senderAuthentification ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Add mailing list |
12,817 | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_archive_POST ( String organizationName , String exchangeService , String primaryEmailAddress , Long quota ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/archive" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , primaryEmailAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "quota" , quota ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create new archive mailbox |
12,818 | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_outlookURL_POST ( String organizationName , String exchangeService , String primaryEmailAddress , OvhLanguageEnum language , OvhOutlookVersionEnum version ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/outlookURL" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , primaryEmailAddress ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "language" , language ) ; addBody ( o , "version" , version ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Generate outlook url |
12,819 | public ArrayList < String > organizationName_service_exchangeService_account_GET ( String organizationName , String exchangeService , OvhOvhLicenceEnum accountLicense , Long id , String primaryEmailAddress ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "accountLicense" , accountLicense ) ; query ( sb , "id" , id ) ; query ( sb , "primaryEmailAddress" , primaryEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Accounts associated to this exchange service |
12,820 | public OvhTask organizationName_service_exchangeService_account_POST ( String organizationName , String exchangeService , String SAMAccountName , String company , String displayName , String domain , String firstName , Boolean hiddenFromGAL , String initials , String lastName , OvhOvhLicenceEnum license , Boolean litigation , Long litigationPeriod , String login , OvhMailingFilterEnum [ ] mailingFilter , Boolean outlookLicense , String password , OvhSpamAndVirusConfiguration spamAndVirusConfiguration ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "SAMAccountName" , SAMAccountName ) ; addBody ( o , "company" , company ) ; addBody ( o , "displayName" , displayName ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "hiddenFromGAL" , hiddenFromGAL ) ; addBody ( o , "initials" , initials ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "license" , license ) ; addBody ( o , "litigation" , litigation ) ; addBody ( o , "litigationPeriod" , litigationPeriod ) ; addBody ( o , "login" , login ) ; addBody ( o , "mailingFilter" , mailingFilter ) ; addBody ( o , "outlookLicense" , outlookLicense ) ; addBody ( o , "password" , password ) ; addBody ( o , "spamAndVirusConfiguration" , spamAndVirusConfiguration ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Create new mailbox in exchange server |
12,821 | public ArrayList < String > organizationName_service_exchangeService_device_GET ( String organizationName , String exchangeService , String IMEI , OvhDeviceActiveSyncStateEnum deviceState , String identity ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/device" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "IMEI" , IMEI ) ; query ( sb , "deviceState" , deviceState ) ; query ( sb , "identity" , identity ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List of your ActiveSync devices registered on this Exchange service |
12,822 | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_notifiedAccountId_DELETE ( String organizationName , String exchangeService , Long notifiedAccountId ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification/{notifiedAccountId}" ; StringBuilder sb = path ( qPath , organizationName , exchangeService , notifiedAccountId ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | Unubscribe address from ActiveSync quarantine notifications |
12,823 | 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 |
12,824 | 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 |
12,825 | 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 |
12,826 | 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 |
12,827 | 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 . |
12,828 | 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 |
12,829 | 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 |
12,830 | 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 |
12,831 | 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 . |
12,832 | 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 . |
12,833 | 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 . |
12,834 | public DataSetBuilder value ( String column , Object constant ) { return set ( column , new ConstantFiller < Object > ( constant ) ) ; } | Set a constant value filler for a column . |
12,835 | 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 . |
12,836 | 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 . |
12,837 | 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 . |
12,838 | 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 . |
12,839 | 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 . |
12,840 | 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 . |
12,841 | 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 . |
12,842 | 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 |
12,843 | public DataSetBuilder random ( String column , Function < Random , ? > gen ) { return set ( column , ( ) -> gen . apply ( rng ) ) ; } | Set customized random filler . |
12,844 | 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 . |
12,845 | 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 . |
12,846 | 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 . |
12,847 | 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 . |
12,848 | 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 . |
12,849 | 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 . |
12,850 | 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 |
12,851 | 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 |
12,852 | 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 |
12,853 | 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 |
12,854 | 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 |
12,855 | 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 |
12,856 | 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 |
12,857 | 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 |
12,858 | 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 |
12,859 | 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 |
12,860 | 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 |
12,861 | 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 |
12,862 | 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 |
12,863 | 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 |
12,864 | 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 |
12,865 | 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 |
12,866 | 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 |
12,867 | 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 |
12,868 | 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 |
12,869 | 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 |
12,870 | 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 |
12,871 | 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 |
12,872 | 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 |
12,873 | 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 |
12,874 | 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 |
12,875 | 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 |
12,876 | 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 |
12,877 | 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 |
12,878 | 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 |
12,879 | 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 |
12,880 | 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 |
12,881 | 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 |
12,882 | 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 |
12,883 | 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 |
12,884 | 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 |
12,885 | 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 |
12,886 | 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 |
12,887 | 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 |
12,888 | 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 |
12,889 | 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 |
12,890 | 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 |
12,891 | 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 |
12,892 | 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 |
12,893 | 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 |
12,894 | 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 |
12,895 | 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 |
12,896 | 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 |
12,897 | 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 |
12,898 | 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 . |
12,899 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.