idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
12,600 | public OvhSmsSecret accessRestriction_sms_POST ( String phone ) throws IOException { String qPath = "/me/accessRestriction/sms" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "phone" , phone ) ; String resp = exec ( qPath , "POST" , sb . toStrin... | Add a SMS access restriction | 119 | 5 |
12,601 | public void accessRestriction_sms_id_enable_POST ( Long id , String code ) throws IOException { String qPath = "/me/accessRestriction/sms/{id}/enable" ; StringBuilder sb = path ( qPath , id ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "code" , code ) ; exec ( qPath , "POST" , ... | Enable this SMS account | 112 | 4 |
12,602 | public OvhTOTPSecret accessRestriction_totp_POST ( ) throws IOException { String qPath = "/me/accessRestriction/totp" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTOTPSecret . class ) ; } | Add a TOTP access restriction | 91 | 7 |
12,603 | public OvhSOTPSecret accessRestriction_backupCode_POST ( ) throws IOException { String qPath = "/me/accessRestriction/backupCode" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSOTPSecret . class ) ; } | Add a SOTP access restriction | 91 | 7 |
12,604 | public void accessRestriction_backupCode_DELETE ( ) throws IOException { String qPath = "/me/accessRestriction/backupCode" ; StringBuilder sb = path ( qPath ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete this Two - Factor | 69 | 5 |
12,605 | public OvhSOTPValidate accessRestriction_backupCode_validate_POST ( String code ) throws IOException { String qPath = "/me/accessRestriction/backupCode/validate" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "code" , code ) ; String resp = exec... | Validate your SOTP account | 131 | 7 |
12,606 | public void accessRestriction_ip_POST ( String ip , OvhIpRestrictionRuleEnum rule , Boolean warning ) throws IOException { String qPath = "/me/accessRestriction/ip" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ip" , ip ) ; addBody ( o , "rule... | Add an IP access restriction | 133 | 5 |
12,607 | public OvhU2FRegisterChallenge accessRestriction_u2f_POST ( ) throws IOException { String qPath = "/me/accessRestriction/u2f" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhU2FRegisterChallenge . class ) ; } | Add a U2F access restriction | 93 | 7 |
12,608 | public void accessRestriction_u2f_id_enable_POST ( Long id , String clientData , String signatureData ) throws IOException { String qPath = "/me/accessRestriction/u2f/{id}/enable" ; StringBuilder sb = path ( qPath , id ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "clientData" ... | Enable this U2F account | 136 | 6 |
12,609 | public void accessRestriction_u2f_id_validate_POST ( Long id , String clientData , String registrationData ) throws IOException { String qPath = "/me/accessRestriction/u2f/{id}/validate" ; StringBuilder sb = path ( qPath , id ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "clien... | Validate your U2F account | 138 | 7 |
12,610 | public ArrayList < OvhSqlServerOrderConfiguration > orderableVersions_GET ( String ip ) throws IOException { String qPath = "/license/sqlserver/orderableVersions" ; StringBuilder sb = path ( qPath ) ; query ( sb , "ip" , ip ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , ... | Get the orderable Sql Server versions | 97 | 8 |
12,611 | public OvhKey serviceName_key_keyId_GET ( String serviceName , String keyId ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/key/{keyId}" ; StringBuilder sb = path ( qPath , serviceName , keyId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhKey . clas... | Get a key | 103 | 3 |
12,612 | public OvhUserWithPassword serviceName_user_userId_changePassword_POST ( String serviceName , String userId ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/user/{userId}/changePassword" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; String resp = exec ( qPath , "POST" , sb . toString ( )... | Generate a new user password | 114 | 6 |
12,613 | public OvhRole serviceName_role_roleName_GET ( String serviceName , String roleName ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/role/{roleName}" ; StringBuilder sb = path ( qPath , serviceName , roleName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp ... | Get a role | 103 | 3 |
12,614 | public OvhTopic serviceName_topic_topicId_GET ( String serviceName , String topicId ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}" ; StringBuilder sb = path ( qPath , serviceName , topicId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp ,... | Get a topic | 103 | 3 |
12,615 | public void serviceName_topic_topicId_DELETE ( String serviceName , String topicId ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/topic/{topicId}" ; StringBuilder sb = path ( qPath , serviceName , topicId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a topic | 89 | 3 |
12,616 | public OvhRegion serviceName_region_regionId_GET ( String serviceName , String regionId ) throws IOException { String qPath = "/dbaas/queue/{serviceName}/region/{regionId}" ; StringBuilder sb = path ( qPath , serviceName , regionId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo (... | Get one region | 103 | 3 |
12,617 | public static < T > T convertTo ( String in , TypeReference < T > mapTo ) throws IOException { try { return mapper . readValue ( in , mapTo ) ; } catch ( Exception e ) { log . error ( "Can not convert:{} to {}" , in , mapTo , e ) ; throw new OvhServiceException ( "local" , "conversion Error to " + mapTo ) ; } } | Convert JSON String to a POJO java | 92 | 9 |
12,618 | public static String objectJsonBody ( Object body ) { if ( body instanceof String ) return ( String ) body ; String txt = "" ; try { txt = mapper . writeValueAsString ( body ) ; } catch ( JsonProcessingException e ) { log . error ( "objectJsonBody" , e ) ; } return txt ; } | Convert Object to JSON String | 78 | 6 |
12,619 | public OvhPrice subsidiaryPrice_GET ( String flavorId , OvhOvhSubsidiaryEnum ovhSubsidiary , String region ) throws IOException { String qPath = "/cloud/subsidiaryPrice" ; StringBuilder sb = path ( qPath ) ; query ( sb , "flavorId" , flavorId ) ; query ( sb , "ovhSubsidiary" , ovhSubsidiary ) ; query ( sb , "region" , ... | Get services prices for a subsidiary | 145 | 6 |
12,620 | public OvhRegion project_serviceName_region_POST ( String serviceName , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/region" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "region" , region ) ; ... | Request access to a region | 124 | 5 |
12,621 | public OvhRegion project_serviceName_region_regionName_GET ( String serviceName , String regionName ) throws IOException { String qPath = "/cloud/project/{serviceName}/region/{regionName}" ; StringBuilder sb = path ( qPath , serviceName , regionName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; ... | Get information about your region | 103 | 5 |
12,622 | public ArrayList < OvhBackup > project_serviceName_region_regionName_workflow_backup_GET ( String serviceName , String regionName ) throws IOException { String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup" ; StringBuilder sb = path ( qPath , serviceName , regionName ) ; String resp = exec (... | List your automated backups | 118 | 4 |
12,623 | public OvhBackup project_serviceName_region_regionName_workflow_backup_POST ( String serviceName , String regionName , String cron , String instanceId , Long maxExecutionCount , String name , Long rotation ) throws IOException { String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup" ; StringB... | Create a new automated backup | 229 | 5 |
12,624 | public void project_serviceName_region_regionName_workflow_backup_backupWorkflowId_DELETE ( String serviceName , String regionName , String backupWorkflowId ) throws IOException { String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}" ; StringBuilder sb = path ( qPath , ser... | Delete a backup workflow process | 126 | 5 |
12,625 | public OvhBackup project_serviceName_region_regionName_workflow_backup_backupWorkflowId_GET ( String serviceName , String regionName , String backupWorkflowId ) throws IOException { String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup/{backupWorkflowId}" ; StringBuilder sb = path ( qPath , s... | Get details about a backup workflow process | 142 | 7 |
12,626 | public ArrayList < String > project_serviceName_acl_GET ( String serviceName , OvhAclTypeEnum type ) throws IOException { String qPath = "/cloud/project/{serviceName}/acl" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ;... | Get ACL on your cloud project | 109 | 6 |
12,627 | public OvhRclone project_serviceName_user_userId_rclone_GET ( String serviceName , Long userId , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/user/{userId}/rclone" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; query ( sb , "region" , region ) ; String resp = exec ( qP... | Get rclone configuration file | 127 | 5 |
12,628 | public OvhUserDetail project_serviceName_user_userId_regeneratePassword_POST ( String serviceName , Long userId ) throws IOException { String qPath = "/cloud/project/{serviceName}/user/{userId}/regeneratePassword" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; String resp = exec ( qPath , "POST" , sb . to... | Regenerate user password | 118 | 5 |
12,629 | public OvhOpenrc project_serviceName_user_userId_openrc_GET ( String serviceName , Long userId , String region , OvhOpenrcVersionEnum version ) throws IOException { String qPath = "/cloud/project/{serviceName}/user/{userId}/openrc" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; query ( sb , "region" , reg... | Get RC file of OpenStack | 148 | 6 |
12,630 | public ArrayList < OvhUser > project_serviceName_user_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Get all users | 90 | 3 |
12,631 | public ArrayList < OvhContainer > project_serviceName_storage_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Get storage containers | 90 | 3 |
12,632 | public OvhContainerObjectTempURL project_serviceName_storage_containerId_publicUrl_POST ( String serviceName , String containerId , Date expirationDate , String objectName ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage/{containerId}/publicUrl" ; StringBuilder sb = path ( qPath , serviceName... | Get a public temporary URL to access to one of your object | 173 | 12 |
12,633 | public OvhContainerDetail project_serviceName_storage_containerId_GET ( String serviceName , String containerId ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage/{containerId}" ; StringBuilder sb = path ( qPath , serviceName , containerId ) ; String resp = exec ( qPath , "GET" , sb . toString ... | Get storage container | 107 | 3 |
12,634 | public void project_serviceName_storage_containerId_PUT ( String serviceName , String containerId , OvhTypeEnum containerType ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage/{containerId}" ; StringBuilder sb = path ( qPath , serviceName , containerId ) ; HashMap < String , Object > o = new H... | Update your storage container | 127 | 4 |
12,635 | public void project_serviceName_storage_containerId_cors_DELETE ( String serviceName , String containerId , String origin ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage/{containerId}/cors" ; StringBuilder sb = path ( qPath , serviceName , containerId ) ; query ( sb , "origin" , origin ) ; e... | Delete CORS support on your container | 111 | 7 |
12,636 | public OvhUserDetail project_serviceName_storage_containerId_user_POST ( String serviceName , String containerId , String description , OvhRightEnum right ) throws IOException { String qPath = "/cloud/project/{serviceName}/storage/{containerId}/user" ; StringBuilder sb = path ( qPath , serviceName , containerId ) ; Has... | Create openstack user with only access to this container | 166 | 10 |
12,637 | public void project_serviceName_network_private_networkId_subnet_subnetId_DELETE ( String serviceName , String networkId , String subnetId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet/{subnetId}" ; StringBuilder sb = path ( qPath , serviceName , networkId , subn... | Delete a network subnet | 118 | 5 |
12,638 | public ArrayList < OvhSubnet > project_serviceName_network_private_networkId_subnet_GET ( String serviceName , String networkId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; String resp = exec ( qPa... | Get network subnets | 116 | 4 |
12,639 | public OvhSubnet project_serviceName_network_private_networkId_subnet_POST ( String serviceName , String networkId , Boolean dhcp , String end , String network , Boolean noGateway , String region , String start ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet" ; Str... | Create a new network subnet | 235 | 6 |
12,640 | public void project_serviceName_network_private_networkId_DELETE ( String serviceName , String networkId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ;... | Delete private network | 93 | 3 |
12,641 | public OvhNetwork project_serviceName_network_private_networkId_GET ( String serviceName , String networkId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; String resp = exec ( qPath , "GET" , sb . toString ... | Get private network | 107 | 3 |
12,642 | public OvhNetwork project_serviceName_network_private_networkId_region_POST ( String serviceName , String networkId , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/region" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; HashMap < String , O... | Activate private network in a new region | 147 | 8 |
12,643 | public OvhNetwork project_serviceName_network_private_POST ( String serviceName , String name , String [ ] regions , Long vlanId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String ,... | Create a new network | 167 | 4 |
12,644 | public ArrayList < OvhNetwork > project_serviceName_network_public_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/public" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , ... | Get public networks | 94 | 3 |
12,645 | public ArrayList < OvhOperation > project_serviceName_operation_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/operation" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; } | List your operations | 90 | 3 |
12,646 | public OvhProjectUsage project_serviceName_consumption_GET ( String serviceName , Date from , Date to ) throws IOException { String qPath = "/cloud/project/{serviceName}/consumption" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath ... | Get your project consumption | 123 | 4 |
12,647 | public void project_serviceName_credit_POST ( String serviceName , String code ) throws IOException { String qPath = "/cloud/project/{serviceName}/credit" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "code" , code ) ; exec ( qPat... | Add credit to your project | 106 | 5 |
12,648 | public OvhMigration project_serviceName_migration_migrationId_GET ( String serviceName , String migrationId ) throws IOException { String qPath = "/cloud/project/{serviceName}/migration/{migrationId}" ; StringBuilder sb = path ( qPath , serviceName , migrationId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ... | Get planned migration | 109 | 3 |
12,649 | public OvhMigration project_serviceName_migration_migrationId_PUT ( String serviceName , String migrationId , Date date ) throws IOException { String qPath = "/cloud/project/{serviceName}/migration/{migrationId}" ; StringBuilder sb = path ( qPath , serviceName , migrationId ) ; HashMap < String , Object > o = new HashM... | Update planned migration | 144 | 3 |
12,650 | public ArrayList < OvhMigration > project_serviceName_migration_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/migration" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t10 ) ; ... | Get planned migrations | 93 | 4 |
12,651 | public OvhVolume project_serviceName_volume_volumeId_upsize_POST ( String serviceName , String volumeId , Long size ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/upsize" ; StringBuilder sb = path ( qPath , serviceName , volumeId ) ; HashMap < String , Object > o = new HashMap < S... | Extend a volume | 145 | 4 |
12,652 | public void project_serviceName_volume_volumeId_DELETE ( String serviceName , String volumeId ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/{volumeId}" ; StringBuilder sb = path ( qPath , serviceName , volumeId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a volume | 89 | 3 |
12,653 | public OvhVolume project_serviceName_volume_volumeId_GET ( String serviceName , String volumeId ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/{volumeId}" ; StringBuilder sb = path ( qPath , serviceName , volumeId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return c... | Get volume details | 103 | 3 |
12,654 | public OvhVolume project_serviceName_volume_volumeId_PUT ( String serviceName , String volumeId , String description , String name ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/{volumeId}" ; StringBuilder sb = path ( qPath , serviceName , volumeId ) ; HashMap < String , Object > o = new Has... | Update a volume | 153 | 3 |
12,655 | public OvhVolume project_serviceName_volume_volumeId_attach_POST ( String serviceName , String volumeId , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/{volumeId}/attach" ; StringBuilder sb = path ( qPath , serviceName , volumeId ) ; HashMap < String , Object > o = new Has... | Attach a volume on an instance | 146 | 6 |
12,656 | public OvhVolume project_serviceName_volume_POST ( String serviceName , String description , String imageId , String name , String region , Long size , String snapshotId , OvhVolumeTypeEnum type ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume" ; StringBuilder sb = path ( qPath , serviceName )... | Create a volume | 226 | 3 |
12,657 | public ArrayList < OvhSnapshot > project_serviceName_volume_snapshot_GET ( String serviceName , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/snapshot" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "region" , region ) ; String resp = exec ( qPath , "GET" , s... | Get volume snapshots | 112 | 3 |
12,658 | public void project_serviceName_volume_snapshot_snapshotId_DELETE ( String serviceName , String snapshotId ) throws IOException { String qPath = "/cloud/project/{serviceName}/volume/snapshot/{snapshotId}" ; StringBuilder sb = path ( qPath , serviceName , snapshotId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null... | Delete a volume snapshot | 97 | 4 |
12,659 | public OvhFailoverIp project_serviceName_ip_failover_id_attach_POST ( String serviceName , String id , String instanceId ) throws IOException { String qPath = "/cloud/project/{serviceName}/ip/failover/{id}/attach" ; StringBuilder sb = path ( qPath , serviceName , id ) ; HashMap < String , Object > o = new HashMap < Str... | Attach failover ip to an instance | 154 | 7 |
12,660 | public OvhFailoverIp project_serviceName_ip_failover_id_GET ( String serviceName , String id ) throws IOException { String qPath = "/cloud/project/{serviceName}/ip/failover/{id}" ; StringBuilder sb = path ( qPath , serviceName , id ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo (... | Get failover ip | 111 | 4 |
12,661 | public ArrayList < OvhFailoverIp > project_serviceName_ip_failover_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/ip/failover" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t13... | Get failover ips | 99 | 5 |
12,662 | public ArrayList < OvhQuotas > project_serviceName_quota_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/quota" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t16 ) ; } | Get project quotas | 94 | 3 |
12,663 | public OvhProjectForecast project_serviceName_forecast_GET ( String serviceName , Date toDate ) throws IOException { String qPath = "/cloud/project/{serviceName}/forecast" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "toDate" , toDate ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null... | Get your consumption forecast | 113 | 4 |
12,664 | public void project_serviceName_sshkey_keyId_DELETE ( String serviceName , String keyId ) throws IOException { String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}" ; StringBuilder sb = path ( qPath , serviceName , keyId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete SSH key | 91 | 3 |
12,665 | public OvhSshKeyDetail project_serviceName_sshkey_keyId_GET ( String serviceName , String keyId ) throws IOException { String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}" ; StringBuilder sb = path ( qPath , serviceName , keyId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convert... | Get SSH key | 113 | 3 |
12,666 | public ArrayList < OvhSshKey > project_serviceName_sshkey_GET ( String serviceName , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/sshkey" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "region" , region ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , n... | Get SSH keys | 109 | 3 |
12,667 | public OvhSshKeyDetail project_serviceName_sshkey_POST ( String serviceName , String name , String publicKey , String region ) throws IOException { String qPath = "/cloud/project/{serviceName}/sshkey" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( )... | Create SSH key | 167 | 3 |
12,668 | public ArrayList < OvhAvailableRegion > project_serviceName_regionAvailable_GET ( String serviceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/regionAvailable" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo... | List the regions on which you can ask an access to | 93 | 11 |
12,669 | public void project_serviceName_ipLoadbalancing_id_validate_POST ( String serviceName , String id ) throws IOException { String qPath = "/cloud/project/{serviceName}/ipLoadbalancing/{id}/validate" ; StringBuilder sb = path ( qPath , serviceName , id ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; } | Validate the import of your load balancing IP into OpenStack | 94 | 12 |
12,670 | public OvhIPLoadbalancing project_serviceName_ipLoadbalancing_POST ( String serviceName , String ipLoadbalancingServiceName , String redirection ) throws IOException { String qPath = "/cloud/project/{serviceName}/ipLoadbalancing" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new Ha... | Import an existing IP LB into OpenStack | 169 | 8 |
12,671 | public ArrayList < OvhBill > project_serviceName_bill_GET ( String serviceName , Date from , Date to ) throws IOException { String qPath = "/cloud/project/{serviceName}/bill" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath , "GET" ... | Get your project bills | 120 | 4 |
12,672 | public ArrayList < OvhUsageHistory > project_serviceName_usage_history_GET ( String serviceName , Date from , Date to ) throws IOException { String qPath = "/cloud/project/{serviceName}/usage/history" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String re... | Usage information on your project | 125 | 5 |
12,673 | public OvhUsageHistoryDetail project_serviceName_usage_history_usageId_GET ( String serviceName , String usageId ) throws IOException { String qPath = "/cloud/project/{serviceName}/usage/history/{usageId}" ; StringBuilder sb = path ( qPath , serviceName , usageId ) ; String resp = exec ( qPath , "GET" , sb . toString (... | Usage information details | 113 | 3 |
12,674 | public OvhInstanceDetail project_serviceName_instance_POST ( String serviceName , String flavorId , String groupId , String imageId , Boolean monthlyBilling , String name , OvhNetworkParams [ ] networks , String region , String sshKeyId , String userData , String volumeId ) throws IOException { String qPath = "/cloud/p... | Create a new instance | 299 | 4 |
12,675 | public OvhRescueAdminPassword project_serviceName_instance_instanceId_rescueMode_POST ( String serviceName , String instanceId , String imageId , Boolean rescue ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}/rescueMode" ; StringBuilder sb = path ( qPath , serviceName , instanc... | Enable or disable rescue mode | 174 | 5 |
12,676 | public void project_serviceName_instance_instanceId_PUT ( String serviceName , String instanceId , String instanceName ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/{instanceId}" ; StringBuilder sb = path ( qPath , serviceName , instanceId ) ; HashMap < String , Object > o = new HashMap <... | Alter an instance | 123 | 4 |
12,677 | 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 ... | Snapshot an instance | 131 | 4 |
12,678 | 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 = ... | Return initial credentials of applications installed from public image | 112 | 9 |
12,679 | 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 >... | Reboot an instance | 133 | 4 |
12,680 | 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... | Create interface on an instance and attached it to a network | 161 | 11 |
12,681 | 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 ,... | Delete an interface | 108 | 3 |
12,682 | 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 . toStr... | Get VNC access to your instance | 114 | 7 |
12,683 | 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 | 92 | 5 |
12,684 | 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 , Ob... | Migrate your instance to another flavor | 153 | 7 |
12,685 | 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... | Active monthly billing on instance | 120 | 5 |
12,686 | 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 IOExcep... | Create multiple instances | 319 | 3 |
12,687 | 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" ... | Get the detail of a group | 110 | 6 |
12,688 | 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 H... | Create a group | 166 | 3 |
12,689 | 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 | 93 | 3 |
12,690 | 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 < St... | Add new alert | 172 | 3 |
12,691 | 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 | 89 | 5 |
12,692 | 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 , "descript... | Start a new cloud project | 141 | 5 |
12,693 | 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 , Ovh... | Get services prices | 104 | 3 |
12,694 | 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 . clas... | Get information about a cloud project creation | 95 | 7 |
12,695 | 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 , ... | Create a restore task for session | 137 | 6 |
12,696 | 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 , serviceNa... | cloud archives files in session | 149 | 5 |
12,697 | 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 ) ... | cloud Archives billing items | 173 | 4 |
12,698 | 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 = ... | cloud archives tasks for account | 209 | 5 |
12,699 | 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 , pcaServic... | Create a cloud archives task | 200 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.