idx
int64
0
165k
question
stringlengths
73
5.81k
target
stringlengths
5
918
12,700
public void project_serviceName_instance_instanceId_snapshot_POST ( String serviceName , String instanceId , String snapshotName ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/snapshot" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "snapshotName" , snapshotName ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Snapshot an instance
12,701
public OvhApplicationAccess project_serviceName_instance_instanceId_applicationAccess_POST ( String serviceName , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/applicationAccess" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhApplicationAccess . class ) ; }
Return initial credentials of applications installed from public image
12,702
public void project_serviceName_instance_instanceId_reboot_POST ( String serviceName , String instanceId , OvhRebootTypeEnum type ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/reboot" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "type" , type ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Reboot an instance
12,703
public OvhInterface project_serviceName_instance_instanceId_interface_POST ( String serviceName , String instanceId , String ip , String networkId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/interface" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ip" , ip ) ; addBody ( o , "networkId" , networkId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhInterface . class ) ; }
Create interface on an instance and attached it to a network
12,704
public void project_serviceName_instance_instanceId_interface_interfaceId_DELETE ( String serviceName , String instanceId , String interfaceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/interface/{interfaceId}" ; StringBuilder sb = path ( qPath , serviceName , instanceId , interfaceId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete an interface
12,705
public OvhInstanceVnc project_serviceName_instance_instanceId_vnc_POST ( String serviceName , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/vnc" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhInstanceVnc . class ) ; }
Get VNC access to your instance
12,706
public void project_serviceName_instance_instanceId_resume_POST ( String serviceName , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/resume" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; }
Resume a suspended instance
12,707
public OvhInstanceDetail project_serviceName_instance_instanceId_resize_POST ( String serviceName , String instanceId , String flavorId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/resize" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "flavorId" , flavorId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhInstanceDetail . class ) ; }
Migrate your instance to another flavor
12,708
public OvhInstanceDetail project_serviceName_instance_instanceId_activeMonthlyBilling_POST ( String serviceName , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/activeMonthlyBilling" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhInstanceDetail . class ) ; }
Active monthly billing on instance
12,709
public ArrayList < OvhInstance > project_serviceName_instance_bulk_POST ( String serviceName , String flavorId , String groupId , String imageId , Boolean monthlyBilling , String name , OvhNetworkBulkParams [ ] networks , Long number , String region , String sshKeyId , String userData , String volumeId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/bulk" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "flavorId" , flavorId ) ; addBody ( o , "groupId" , groupId ) ; addBody ( o , "imageId" , imageId ) ; addBody ( o , "monthlyBilling" , monthlyBilling ) ; addBody ( o , "name" , name ) ; addBody ( o , "networks" , networks ) ; addBody ( o , "number" , number ) ; addBody ( o , "region" , region ) ; addBody ( o , "sshKeyId" , sshKeyId ) ; addBody ( o , "userData" , userData ) ; addBody ( o , "volumeId" , volumeId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t21 ) ; }
Create multiple instances
12,710
public ArrayList < OvhInstanceGroup > project_serviceName_instance_group_GET ( String serviceName , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/group" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "region" , region ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t23 ) ; }
Get the detail of a group
12,711
public OvhInstanceGroup project_serviceName_instance_group_POST ( String serviceName , String name , String region , OvhInstanceGroupTypeEnum type ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/group" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "name" , name ) ; addBody ( o , "region" , region ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhInstanceGroup . class ) ; }
Create a group
12,712
public void project_serviceName_instance_group_groupId_DELETE ( String serviceName , String groupId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/group/{groupId}" ; StringBuilder sb = path ( qPath , serviceName , groupId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete a group
12,713
public OvhAlerting project_serviceName_alerting_POST ( String serviceName , OvhAlertingDelayEnum delay , String email , Long monthlyThreshold ) throws IOException { String qPath = "/cloud/project/{serviceName}/alerting" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "delay" , delay ) ; addBody ( o , "email" , email ) ; addBody ( o , "monthlyThreshold" , monthlyThreshold ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhAlerting . class ) ; }
Add new alert
12,714
public ArrayList < OvhOrder > order_GET ( String planCode ) throws IOException { String qPath = "/cloud/order" ; StringBuilder sb = path ( qPath ) ; query ( sb , "planCode" , planCode ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t25 ) ; }
Get all cloud pending orders
12,715
public OvhNewProject createProject_POST ( Long credit , String description , String voucher ) throws IOException { String qPath = "/cloud/createProject" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "credit" , credit ) ; addBody ( o , "description" , description ) ; addBody ( o , "voucher" , voucher ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNewProject . class ) ; }
Start a new cloud project
12,716
public OvhPrice price_GET ( String flavorId , String region ) throws IOException { String qPath = "/cloud/price" ; StringBuilder sb = path ( qPath ) ; query ( sb , "flavorId" , flavorId ) ; query ( sb , "region" , region ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; }
Get services prices
12,717
public OvhNewProjectInfo createProjectInfo_GET ( String voucher ) throws IOException { String qPath = "/cloud/createProjectInfo" ; StringBuilder sb = path ( qPath ) ; query ( sb , "voucher" , voucher ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhNewProjectInfo . class ) ; }
Get information about a cloud project creation
12,718
public OvhTask serviceName_pca_pcaServiceName_sessions_sessionId_restore_POST ( String serviceName , String pcaServiceName , String sessionId ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/sessions/{sessionId}/restore" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName , sessionId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Create a restore task for session
12,719
public ArrayList < String > serviceName_pca_pcaServiceName_sessions_sessionId_files_GET ( String serviceName , String pcaServiceName , String sessionId , String name ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/sessions/{sessionId}/files" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName , sessionId ) ; query ( sb , "name" , name ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
cloud archives files in session
12,720
public ArrayList < Long > serviceName_pca_pcaServiceName_billing_GET ( String serviceName , String pcaServiceName , Boolean billed , Date date_from , Date date_to ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/billing" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName ) ; query ( sb , "billed" , billed ) ; query ( sb , "date.from" , date_from ) ; query ( sb , "date.to" , date_to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; }
cloud Archives billing items
12,721
public ArrayList < String > serviceName_pca_pcaServiceName_tasks_GET ( String serviceName , String pcaServiceName , OvhFunctionTypeEnum function , OvhTaskStateEnum status , Date todoDate_from , Date todoDate_to ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName ) ; query ( sb , "function" , function ) ; query ( sb , "status" , status ) ; query ( sb , "todoDate.from" , todoDate_from ) ; query ( sb , "todoDate.to" , todoDate_to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
cloud archives tasks for account
12,722
public OvhTask serviceName_pca_pcaServiceName_tasks_POST ( String serviceName , String pcaServiceName , String [ ] fileIds , String sessionId , OvhTaskTypeEnum taskFunction ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "fileIds" , fileIds ) ; addBody ( o , "sessionId" , sessionId ) ; addBody ( o , "taskFunction" , taskFunction ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create a cloud archives task
12,723
public void serviceName_publiccloud_node_nodeId_DELETE ( String serviceName , String nodeId ) throws IOException { String qPath = "/kube/{serviceName}/publiccloud/node/{nodeId}" ; StringBuilder sb = path ( qPath , serviceName , nodeId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete a node on your cluster
12,724
public OvhNode serviceName_publiccloud_node_nodeId_GET ( String serviceName , String nodeId ) throws IOException { String qPath = "/kube/{serviceName}/publiccloud/node/{nodeId}" ; StringBuilder sb = path ( qPath , serviceName , nodeId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhNode . class ) ; }
Get information on a specific node on your cluster
12,725
public void serviceName_updatePolicy_PUT ( String serviceName , OvhUpdatePolicy updatePolicy ) throws IOException { String qPath = "/kube/{serviceName}/updatePolicy" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "updatePolicy" , updatePolicy ) ; exec ( qPath , "PUT" , sb . toString ( ) , o ) ; }
Change the update policy of your cluster
12,726
public final String getColumnName ( int index ) { if ( index < 0 || index >= columns . size ( ) ) { throw new InvalidOperationException ( "Invalid column index: " + index ) ; } return columns . get ( index ) ; }
Get column name .
12,727
public OvhTask serviceName_partition_partitionName_quota_uid_DELETE ( String serviceName , String partitionName , Long uid ) throws IOException { String qPath = "/dedicated/nas/{serviceName}/partition/{partitionName}/quota/{uid}" ; StringBuilder sb = path ( qPath , serviceName , partitionName , uid ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Delete a given quota
12,728
public OvhTask serviceName_partition_partitionName_quota_POST ( String serviceName , String partitionName , Long size , Long uid ) throws IOException { String qPath = "/dedicated/nas/{serviceName}/partition/{partitionName}/quota" ; StringBuilder sb = path ( qPath , serviceName , partitionName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "size" , size ) ; addBody ( o , "uid" , uid ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Set a new quota
12,729
public OvhTask serviceName_partition_POST ( String serviceName , String partitionName , OvhProtocolEnum protocol , Long size ) throws IOException { String qPath = "/dedicated/nas/{serviceName}/partition" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "partitionName" , partitionName ) ; addBody ( o , "protocol" , protocol ) ; addBody ( o , "size" , size ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create a new partition
12,730
public boolean isErrorCode ( String ... codes ) { for ( String err : codes ) if ( errorCode . equals ( err ) ) return true ; return false ; }
this function will be deprecated and replace by an Enum ;
12,731
public ArrayList < OvhCountryEnum > countries_GET ( OvhOvhCompanyEnum ovhCompany , OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/newAccount/countries" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ovhCompany" , ovhCompany ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; }
All available countries for an ovh company and an ovh subsidiary
12,732
public ArrayList < OvhContract > contracts_GET ( OvhOvhCompanyEnum company , OvhOvhSubsidiaryEnum subsidiary ) throws IOException { String qPath = "/newAccount/contracts" ; StringBuilder sb = path ( qPath ) ; query ( sb , "company" , company ) ; query ( sb , "subsidiary" , subsidiary ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; }
Returns the contracts that governs the creation of an OVH identifier
12,733
public ArrayList < OvhCreationRule > rules_POST ( OvhCreationRulesActionEnum action , String address , String area , String birthCity , String birthDay , String city , String companyNationalIdentificationNumber , String corporationType , OvhCountryEnum country , String email , String fax , String firstname , OvhLanguageEnum language , OvhLegalFormEnum legalform , String name , String nationalIdentificationNumber , String organisation , OvhOvhCompanyEnum ovhCompany , OvhOvhSubsidiaryEnum ovhSubsidiary , String phone , OvhCountryEnum phoneCountry , OvhGenderEnum sex , String spareEmail , String vat , String zip ) throws IOException { String qPath = "/newAccount/rules" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "address" , address ) ; addBody ( o , "area" , area ) ; addBody ( o , "birthCity" , birthCity ) ; addBody ( o , "birthDay" , birthDay ) ; addBody ( o , "city" , city ) ; addBody ( o , "companyNationalIdentificationNumber" , companyNationalIdentificationNumber ) ; addBody ( o , "corporationType" , corporationType ) ; addBody ( o , "country" , country ) ; addBody ( o , "email" , email ) ; addBody ( o , "fax" , fax ) ; addBody ( o , "firstname" , firstname ) ; addBody ( o , "language" , language ) ; addBody ( o , "legalform" , legalform ) ; addBody ( o , "name" , name ) ; addBody ( o , "nationalIdentificationNumber" , nationalIdentificationNumber ) ; addBody ( o , "organisation" , organisation ) ; addBody ( o , "ovhCompany" , ovhCompany ) ; addBody ( o , "ovhSubsidiary" , ovhSubsidiary ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "phoneCountry" , phoneCountry ) ; addBody ( o , "sex" , sex ) ; addBody ( o , "spareEmail" , spareEmail ) ; addBody ( o , "vat" , vat ) ; addBody ( o , "zip" , zip ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t4 ) ; }
Give all the rules to follow in order to create and update an OVH identifier
12,734
public ArrayList < String > area_GET ( OvhCountryEnum country ) throws IOException { String qPath = "/newAccount/area" ; StringBuilder sb = path ( qPath ) ; query ( sb , "country" , country ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
All available areas for a given country
12,735
public OvhCreationRules creationRules_GET ( OvhCountryEnum country , OvhLegalFormEnum legalform , OvhOvhCompanyEnum ovhCompany , OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/newAccount/creationRules" ; StringBuilder sb = path ( qPath ) ; query ( sb , "country" , country ) ; query ( sb , "legalform" , legalform ) ; query ( sb , "ovhCompany" , ovhCompany ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhCreationRules . class ) ; }
Give all the rules to follow in order to create an OVH identifier
12,736
public OvhTask serviceName_accessPoint_accessPointId_changeSessionTimeout_POST ( String serviceName , Long accessPointId , Long expiration , OvhAccessPointTypeEnum onSingleAP ) throws IOException { String qPath = "/horizonView/{serviceName}/accessPoint/{accessPointId}/changeSessionTimeout" ; StringBuilder sb = path ( qPath , serviceName , accessPointId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "expiration" , expiration ) ; addBody ( o , "onSingleAP" , onSingleAP ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Manage your session Timeout on Unified Access Gateway
12,737
public OvhTask serviceName_accessPoint_accessPointId_disableTwoFA_POST ( String serviceName , Long accessPointId ) throws IOException { String qPath = "/horizonView/{serviceName}/accessPoint/{accessPointId}/disableTwoFA" ; StringBuilder sb = path ( qPath , serviceName , accessPointId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Disable two factor authentication on your pool
12,738
public ArrayList < OvhTask > serviceName_accessPoint_POST ( String serviceName , OvhPoolType poolType , String privateBlock , Long privateVlan , String vrouterPoolPublicIp ) throws IOException { String qPath = "/horizonView/{serviceName}/accessPoint" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "poolType" , poolType ) ; addBody ( o , "privateBlock" , privateBlock ) ; addBody ( o , "privateVlan" , privateVlan ) ; addBody ( o , "vrouterPoolPublicIp" , vrouterPoolPublicIp ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; }
Add new access point to create a new network
12,739
public OvhTask serviceName_domainTrust_domainTrustId_addChildDomain_POST ( String serviceName , Long domainTrustId , String activeDirectoryIP , String domain , String passphrase , String serviceAccountPassword ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust/{domainTrustId}/addChildDomain" ; StringBuilder sb = path ( qPath , serviceName , domainTrustId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "activeDirectoryIP" , activeDirectoryIP ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "passphrase" , passphrase ) ; addBody ( o , "serviceAccountPassword" , serviceAccountPassword ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a child domain for this domain .
12,740
public OvhTask serviceName_domainTrust_domainTrustId_addDomainUserOnComposer_POST ( String serviceName , Long domainTrustId , String domain , String password , String username ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust/{domainTrustId}/addDomainUserOnComposer" ; StringBuilder sb = path ( qPath , serviceName , domainTrustId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "password" , password ) ; addBody ( o , "username" , username ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a domain user to add your desktop in your Active Directory
12,741
public OvhTask serviceName_domainTrust_domainTrustId_addDomainController_POST ( String serviceName , Long domainTrustId , String domain , String domainControllerIp ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust/{domainTrustId}/addDomainController" ; StringBuilder sb = path ( qPath , serviceName , domainTrustId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "domainControllerIp" , domainControllerIp ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a Domain Controller for this domain .
12,742
public ArrayList < OvhTask > serviceName_domainTrust_POST ( String serviceName , String activeDirectoryIP , String dns1 , String dns2 , String domain ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "activeDirectoryIP" , activeDirectoryIP ) ; addBody ( o , "dns1" , dns1 ) ; addBody ( o , "dns2" , dns2 ) ; addBody ( o , "domain" , domain ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; }
Link your Active Directory to your CDI Active Directory
12,743
public ArrayList < OvhTask > serviceName_customerNetwork_customerNetworkId_DELETE ( String serviceName , Long customerNetworkId ) throws IOException { String qPath = "/horizonView/{serviceName}/customerNetwork/{customerNetworkId}" ; StringBuilder sb = path ( qPath , serviceName , customerNetworkId ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; }
Delete this Customer Network
12,744
public ArrayList < OvhTask > serviceName_dedicatedHorizon_customerUser_POST ( String serviceName , String email , String password , String username ) throws IOException { String qPath = "/horizonView/{serviceName}/dedicatedHorizon/customerUser" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; addBody ( o , "password" , password ) ; addBody ( o , "username" , username ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; }
Create a new customer user
12,745
public OvhTask service_account_email_fullAccess_POST ( String service , String email , Long allowedAccountId ) throws IOException { String qPath = "/email/pro/{service}/account/{email}/fullAccess" ; StringBuilder sb = path ( qPath , service , email ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "allowedAccountId" , allowedAccountId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Allow full access to a user
12,746
public OvhTask service_account_email_fullAccess_allowedAccountId_DELETE ( String service , String email , Long allowedAccountId ) throws IOException { String qPath = "/email/pro/{service}/account/{email}/fullAccess/{allowedAccountId}" ; StringBuilder sb = path ( qPath , service , email , allowedAccountId ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; }
Revoke full access
12,747
public OvhTask service_domain_POST ( String service , Boolean configureAutodiscover , Boolean configureMx , String mxRelay , String name , OvhDomainTypeEnum type ) throws IOException { String qPath = "/email/pro/{service}/domain" ; StringBuilder sb = path ( qPath , service ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "configureAutodiscover" , configureAutodiscover ) ; addBody ( o , "configureMx" , configureMx ) ; addBody ( o , "mxRelay" , mxRelay ) ; addBody ( o , "name" , name ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create new domain in pro services
12,748
public ArrayList < OvhRenewDescription > serviceId_renew_GET ( String serviceId , Boolean includeOptions ) throws IOException { String qPath = "/service/{serviceId}/renew" ; StringBuilder sb = path ( qPath , serviceId ) ; query ( sb , "includeOptions" , includeOptions ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; }
List possible renews for this service
12,749
public OvhRenewOrder serviceId_renew_POST ( String serviceId , Boolean dryRun , String duration , Long [ ] services ) throws IOException { String qPath = "/service/{serviceId}/renew" ; StringBuilder sb = path ( qPath , serviceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "dryRun" , dryRun ) ; addBody ( o , "duration" , duration ) ; addBody ( o , "services" , services ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRenewOrder . class ) ; }
Create a renew order
12,750
public void serviceId_suspend_POST ( Long serviceId ) throws IOException { String qPath = "/service/{serviceId}/suspend" ; StringBuilder sb = path ( qPath , serviceId ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; }
Suspend the service . The service won t be accessible but you will still be charged for it
12,751
public final QueryBuilder arguments ( Object ... args ) { set ( Param . QUERY_ARGS , "" ) ; queryArgs = args . clone ( ) ; return this ; }
Set arguments for query .
12,752
public final Query build ( DB db ) { return new Query ( CallInfo . create ( ) , db , toSQL ( ) , queryArgs ) ; }
Build the query .
12,753
public ArrayList < OvhDeviceAction > serviceName_device_restoreBackup_POST ( String serviceName , String backupId ) throws IOException { String qPath = "/overTheBox/{serviceName}/device/restoreBackup" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "backupId" , backupId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t4 ) ; }
Create a group of actions to restore a given backup
12,754
public OvhRemoteAccess serviceName_remoteAccesses_POST ( String serviceName , String allowedIp , Date expirationDate , Long exposedPort , String publicKey ) throws IOException { String qPath = "/overTheBox/{serviceName}/remoteAccesses" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "allowedIp" , allowedIp ) ; addBody ( o , "expirationDate" , expirationDate ) ; addBody ( o , "exposedPort" , exposedPort ) ; addBody ( o , "publicKey" , publicKey ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRemoteAccess . class ) ; }
Create a new remote access for the service
12,755
public void serviceName_remoteAccesses_remoteAccessId_DELETE ( String serviceName , String remoteAccessId ) throws IOException { String qPath = "/overTheBox/{serviceName}/remoteAccesses/{remoteAccessId}" ; StringBuilder sb = path ( qPath , serviceName , remoteAccessId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete a remote access
12,756
public void serviceName_linkDevice_POST ( String serviceName , String deviceId ) throws IOException { String qPath = "/overTheBox/{serviceName}/linkDevice" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "deviceId" , deviceId ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Link a device to this service
12,757
public ArrayList < OvhAvailableMigrationOffer > serviceName_migration_offers_GET ( String serviceName ) throws IOException { String qPath = "/overTheBox/{serviceName}/migration/offers" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
List all available offers one can migrate to
12,758
public ArrayList < String > cartServiceOption_domain_GET ( String whoisOwner ) throws IOException { String qPath = "/order/cartServiceOption/domain" ; StringBuilder sb = path ( qPath ) ; query ( sb , "whoisOwner" , whoisOwner ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
List available services
12,759
public ArrayList < String > dedicated_server_serviceName_feature_GET ( String serviceName , OvhOrderableSysFeatureEnum feature ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/feature" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "feature" , feature ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for feature option
12,760
public ArrayList < String > dedicated_server_serviceName_traffic_GET ( String serviceName , OvhTrafficOrderEnum traffic ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/traffic" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "traffic" , traffic ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for traffic option
12,761
public ArrayList < String > dedicated_server_serviceName_staticIP_GET ( String serviceName , OvhIpStaticCountryEnum country ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/staticIP" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "country" , country ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for staticIP option
12,762
public ArrayList < String > dedicated_server_serviceName_backupStorage_GET ( String serviceName , OvhBackupStorageCapacityEnum capacity ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/backupStorage" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "capacity" , capacity ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for backupStorage option
12,763
public ArrayList < String > dedicated_server_serviceName_bandwidth_GET ( String serviceName , OvhBandwidthOrderEnum bandwidth , OvhBandwidthOrderTypeEnum type ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/bandwidth" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "bandwidth" , bandwidth ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for bandwidth option
12,764
public ArrayList < String > dedicated_server_serviceName_ipMigration_GET ( String serviceName , String ip , String token ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/ipMigration" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "ip" , ip ) ; query ( sb , "token" , token ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for ipMigration option
12,765
public ArrayList < String > dedicated_server_serviceName_firewall_GET ( String serviceName , OvhFirewallModelEnum firewallModel ) throws IOException { String qPath = "/order/dedicated/server/{serviceName}/firewall" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "firewallModel" , firewallModel ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for firewall option
12,766
public ArrayList < String > vps_serviceName_plesk_GET ( String serviceName , OvhPleskLicenseDomainNumberEnum domainNumber ) throws IOException { String qPath = "/order/vps/{serviceName}/plesk" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "domainNumber" , domainNumber ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for plesk option
12,767
public ArrayList < String > vps_serviceName_additionalDisk_GET ( String serviceName , OvhAdditionalDiskSizeEnum additionalDiskSize ) throws IOException { String qPath = "/order/vps/{serviceName}/additionalDisk" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "additionalDiskSize" , additionalDiskSize ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for additionalDisk option
12,768
public ArrayList < String > email_exchange_organizationName_service_exchangeService_outlook_GET ( String organizationName , String exchangeService , OvhOutlookVersionEnum licence , String primaryEmailAddress ) throws IOException { String qPath = "/order/email/exchange/{organizationName}/service/{exchangeService}/outlook" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "licence" , licence ) ; query ( sb , "primaryEmailAddress" , primaryEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for outlook option
12,769
public ArrayList < String > email_exchange_organizationName_service_exchangeService_accountUpgrade_GET ( String organizationName , String exchangeService , OvhAccountQuotaEnum newQuota , String primaryEmailAddress ) throws IOException { String qPath = "/order/email/exchange/{organizationName}/service/{exchangeService}/accountUpgrade" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; query ( sb , "newQuota" , newQuota ) ; query ( sb , "primaryEmailAddress" , primaryEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for accountUpgrade option
12,770
public OvhOrderUpgradeOperationAndOrder upgrade_sslGateway_serviceName_planCode_POST ( String serviceName , String planCode , Boolean autoPayWithPreferredPaymentMethod , Long quantity ) throws IOException { String qPath = "/order/upgrade/sslGateway/{serviceName}/{planCode}" ; StringBuilder sb = path ( qPath , serviceName , planCode ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "autoPayWithPreferredPaymentMethod" , autoPayWithPreferredPaymentMethod ) ; addBody ( o , "quantity" , quantity ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOrderUpgradeOperationAndOrder . class ) ; }
Perform the requested upgrade of your service
12,771
public OvhOrderUpgradeOperationAndOrder upgrade_privateCloud_serviceName_planCode_GET ( String serviceName , String planCode , Long quantity ) throws IOException { String qPath = "/order/upgrade/privateCloud/{serviceName}/{planCode}" ; StringBuilder sb = path ( qPath , serviceName , planCode ) ; query ( sb , "quantity" , quantity ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOrderUpgradeOperationAndOrder . class ) ; }
Get a provisional order for the selected upgrade of your service
12,772
public ArrayList < String > hosting_privateDatabase_serviceName_ram_GET ( String serviceName , OvhAvailableRamSizeEnum ram ) throws IOException { String qPath = "/order/hosting/privateDatabase/{serviceName}/ram" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "ram" , ram ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for ram option
12,773
public ArrayList < String > cdn_dedicated_serviceName_backend_GET ( String serviceName , Long backend ) throws IOException { String qPath = "/order/cdn/dedicated/{serviceName}/backend" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "backend" , backend ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for backend option
12,774
public ArrayList < String > cdn_dedicated_serviceName_cacheRule_GET ( String serviceName , OvhOrderCacheRuleEnum cacheRule ) throws IOException { String qPath = "/order/cdn/dedicated/{serviceName}/cacheRule" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "cacheRule" , cacheRule ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for cacheRule option
12,775
public ArrayList < String > cdn_dedicated_serviceName_quota_GET ( String serviceName , OvhOrderQuotaEnum quota ) throws IOException { String qPath = "/order/cdn/dedicated/{serviceName}/quota" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "quota" , quota ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for quota option
12,776
public ArrayList < String > cdn_webstorage_serviceName_storage_GET ( String serviceName , OvhOrderStorageEnum storage ) throws IOException { String qPath = "/order/cdn/webstorage/{serviceName}/storage" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "storage" , storage ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for storage option
12,777
public ArrayList < String > dedicatedCloud_serviceName_filer_GET ( String serviceName , Long datacenterId , String name , Long quantity ) throws IOException { String qPath = "/order/dedicatedCloud/{serviceName}/filer" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "datacenterId" , datacenterId ) ; query ( sb , "name" , name ) ; query ( sb , "quantity" , quantity ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for filer option
12,778
public ArrayList < String > dedicatedCloud_serviceName_additionalBandwidth_GET ( String serviceName , OvhAdditionalBandwidthEnum bandwidth ) throws IOException { String qPath = "/order/dedicatedCloud/{serviceName}/additionalBandwidth" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "bandwidth" , bandwidth ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for additionalBandwidth option
12,779
public ArrayList < String > dedicatedCloud_serviceName_upgradeRessource_GET ( String serviceName , OvhUpgradeTypeEnum upgradeType , Long upgradedRessourceId , OvhUpgradeRessourceTypeEnum upgradedRessourceType ) throws IOException { String qPath = "/order/dedicatedCloud/{serviceName}/upgradeRessource" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "upgradeType" , upgradeType ) ; query ( sb , "upgradedRessourceId" , upgradedRessourceId ) ; query ( sb , "upgradedRessourceType" , upgradedRessourceType ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
Get allowed durations for upgradeRessource option
12,780
public OvhCatalog catalog_formatted_cloud_GET ( OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/order/catalog/formatted/cloud" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhCatalog . class ) ; }
Retrieve information of Public Cloud catalog
12,781
public net . minidev . ovh . api . order . catalog . pcc . OvhCatalog catalog_formatted_privateCloudReseller_GET ( OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/order/catalog/formatted/privateCloudReseller" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , net . minidev . ovh . api . order . catalog . pcc . OvhCatalog . class ) ; }
Retrieve information of Private Cloud Reseller catalog
12,782
public net . minidev . ovh . api . order . catalog . privatecloud . OvhCatalog catalog_formatted_privateCloudDC_GET ( OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/order/catalog/formatted/privateCloudDC" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , net . minidev . ovh . api . order . catalog . privatecloud . OvhCatalog . class ) ; }
Retrieve information of Private Cloud Dedicated Cloud catalog
12,783
public ArrayList < String > cart_GET ( String description ) throws IOException { String qPath = "/order/cart" ; StringBuilder sb = path ( qPath ) ; query ( sb , "description" , description ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; }
List of your OVH order carts
12,784
public OvhCart cart_POST ( String description , Date expire , OvhOvhSubsidiaryEnum ovhSubsidiary ) throws IOException { String qPath = "/order/cart" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "expire" , expire ) ; addBody ( o , "ovhSubsidiary" , ovhSubsidiary ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhCart . class ) ; }
Create a new OVH order cart
12,785
public ArrayList < OvhGenericProductDefinition > cart_cartId_dedicatedReseller_GET ( String cartId , String family , String planCode ) throws IOException { String qPath = "/order/cart/{cartId}/dedicatedReseller" ; StringBuilder sb = path ( qPath , cartId ) ; query ( sb , "family" , family ) ; query ( sb , "planCode" , planCode ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; }
Get informations about a dedicated server for US Reseller
12,786
public ArrayList < OvhWebHostingProductInformation > cart_cartId_webHosting_GET ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}/webHosting" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; }
Get informations about webHosting offers
12,787
public OvhItem cart_cartId_dns_POST ( String cartId , String duration , String planCode , String pricingMode , Long quantity ) throws IOException { String qPath = "/order/cart/{cartId}/dns" ; StringBuilder sb = path ( qPath , cartId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "duration" , duration ) ; addBody ( o , "planCode" , planCode ) ; addBody ( o , "pricingMode" , pricingMode ) ; addBody ( o , "quantity" , quantity ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhItem . class ) ; }
Post a new DNS zone item in your cart
12,788
public OvhItem cart_cartId_item_itemId_GET ( String cartId , Long itemId ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}" ; StringBuilder sb = path ( qPath , cartId , itemId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhItem . class ) ; }
Retrieve information about a specific item of a cart
12,789
public ArrayList < Long > cart_cartId_item_itemId_configuration_GET ( String cartId , Long itemId , String label ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}/configuration" ; StringBuilder sb = path ( qPath , cartId , itemId ) ; query ( sb , "label" , label ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
Retrieve all configuration item of the cart item
12,790
public OvhConfigurationItem cart_cartId_item_itemId_configuration_POST ( String cartId , Long itemId , String label , String value ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}/configuration" ; StringBuilder sb = path ( qPath , cartId , itemId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "label" , label ) ; addBody ( o , "value" , value ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhConfigurationItem . class ) ; }
Setup configuration item for the product
12,791
public OvhConfigurationItem cart_cartId_item_itemId_configuration_configurationId_GET ( String cartId , Long itemId , Long configurationId ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}/configuration/{configurationId}" ; StringBuilder sb = path ( qPath , cartId , itemId , configurationId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhConfigurationItem . class ) ; }
Retrieve configuration item
12,792
public void cart_cartId_item_itemId_configuration_configurationId_DELETE ( String cartId , Long itemId , Long configurationId ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}/configuration/{configurationId}" ; StringBuilder sb = path ( qPath , cartId , itemId , configurationId ) ; execN ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete configuration item
12,793
public ArrayList < OvhConfigurationRequirements > cart_cartId_item_itemId_requiredConfiguration_GET ( String cartId , Long itemId ) throws IOException { String qPath = "/order/cart/{cartId}/item/{itemId}/requiredConfiguration" ; StringBuilder sb = path ( qPath , cartId , itemId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; }
Retrieve all required configuration item of the cart item
12,794
public ArrayList < Long > cart_cartId_item_GET ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}/item" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; }
List all the items of a cart
12,795
public OvhCart cart_cartId_GET ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhCart . class ) ; }
Retrieve information about a specific cart
12,796
public OvhCart cart_cartId_PUT ( String cartId , String description , Date expire ) throws IOException { String qPath = "/order/cart/{cartId}" ; StringBuilder sb = path ( qPath , cartId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "expire" , expire ) ; String resp = execN ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhCart . class ) ; }
Modify information about a specific cart
12,797
public OvhOrder cart_cartId_checkout_POST ( String cartId , Boolean autoPayWithPreferredPaymentMethod , Boolean waiveRetractationPeriod ) throws IOException { String qPath = "/order/cart/{cartId}/checkout" ; StringBuilder sb = path ( qPath , cartId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "autoPayWithPreferredPaymentMethod" , autoPayWithPreferredPaymentMethod ) ; addBody ( o , "waiveRetractationPeriod" , waiveRetractationPeriod ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOrder . class ) ; }
Validate your shopping and create order
12,798
public void cart_cartId_assign_POST ( String cartId ) throws IOException { String qPath = "/order/cart/{cartId}/assign" ; StringBuilder sb = path ( qPath , cartId ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; }
Assign a shopping cart to an loggedin client
12,799
public ArrayList < String > cart_cartId_coupon_POST ( String cartId , String coupon ) throws IOException { String qPath = "/order/cart/{cartId}/coupon" ; StringBuilder sb = path ( qPath , cartId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "coupon" , coupon ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t1 ) ; }
Add a new coupon to cart