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 . toString ( ) , o ) ; return convertTo ( resp , OvhSmsSecret . class ) ; } | 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" , sb . toString ( ) , o ) ; } | 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 ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSOTPValidate . class ) ; } | 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" , rule ) ; addBody ( o , "warning" , warning ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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" , clientData ) ; addBody ( o , "signatureData" , signatureData ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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 , "clientData" , clientData ) ; addBody ( o , "registrationData" , registrationData ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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 , t3 ) ; } | 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 . class ) ; } | 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 ( ) , null ) ; return convertTo ( resp , OvhUserWithPassword . class ) ; } | 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 , OvhRole . class ) ; } | 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 , OvhTopic . class ) ; } | 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 ( resp , OvhRegion . class ) ; } | 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" , region ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | 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 ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRegion . class ) ; } | 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 ) ; return convertTo ( resp , OvhRegion . class ) ; } | 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 ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | 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" ; StringBuilder sb = path ( qPath , serviceName , regionName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "cron" , cron ) ; addBody ( o , "instanceId" , instanceId ) ; addBody ( o , "maxExecutionCount" , maxExecutionCount ) ; addBody ( o , "name" , name ) ; addBody ( o , "rotation" , rotation ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhBackup . class ) ; } | 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 , serviceName , regionName , backupWorkflowId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | 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 , serviceName , regionName , backupWorkflowId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhBackup . class ) ; } | 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 ) ; return convertTo ( resp , t1 ) ; } | 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 ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhRclone . class ) ; } | 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 . toString ( ) , null ) ; return convertTo ( resp , OvhUserDetail . class ) ; } | 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" , region ) ; query ( sb , "version" , version ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOpenrc . class ) ; } | 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 , containerId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "expirationDate" , expirationDate ) ; addBody ( o , "objectName" , objectName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhContainerObjectTempURL . class ) ; } | 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 ( ) , null ) ; return convertTo ( resp , OvhContainerDetail . class ) ; } | 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 HashMap < String , Object > ( ) ; addBody ( o , "containerType" , containerType ) ; exec ( qPath , "PUT" , sb . toString ( ) , o ) ; } | 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 ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | 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 ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "right" , right ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhUserDetail . class ) ; } | 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 , subnetId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | 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 ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | 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" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "dhcp" , dhcp ) ; addBody ( o , "end" , end ) ; addBody ( o , "network" , network ) ; addBody ( o , "noGateway" , noGateway ) ; addBody ( o , "region" , region ) ; addBody ( o , "start" , start ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSubnet . class ) ; } | 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 ( ) , null ) ; return convertTo ( resp , OvhNetwork . class ) ; } | 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 , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "region" , region ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNetwork . class ) ; } | 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 , Object > ( ) ; addBody ( o , "name" , name ) ; addBody ( o , "regions" , regions ) ; addBody ( o , "vlanId" , vlanId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNetwork . class ) ; } | 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 , t7 ) ; } | 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" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhProjectUsage . class ) ; } | 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 ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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 ( ) , null ) ; return convertTo ( resp , OvhMigration . class ) ; } | 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 HashMap < String , Object > ( ) ; addBody ( o , "date" , date ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhMigration . class ) ; } | 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 < String , Object > ( ) ; addBody ( o , "size" , size ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVolume . class ) ; } | 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 convertTo ( resp , OvhVolume . class ) ; } | 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 HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "name" , name ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVolume . class ) ; } | 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 HashMap < String , Object > ( ) ; addBody ( o , "instanceId" , instanceId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVolume . class ) ; } | 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 ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "imageId" , imageId ) ; addBody ( o , "name" , name ) ; addBody ( o , "region" , region ) ; addBody ( o , "size" , size ) ; addBody ( o , "snapshotId" , snapshotId ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVolume . class ) ; } | 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" , sb . toString ( ) , null ) ; return convertTo ( resp , t12 ) ; } | 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 < String , Object > ( ) ; addBody ( o , "instanceId" , instanceId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhFailoverIp . class ) ; } | 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 ( resp , OvhFailoverIp . class ) ; } | 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 ) ; return convertTo ( resp , OvhProjectForecast . class ) ; } | 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 convertTo ( resp , OvhSshKeyDetail . class ) ; } | 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 ( ) , null ) ; return convertTo ( resp , t17 ) ; } | 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 > ( ) ; addBody ( o , "name" , name ) ; addBody ( o , "publicKey" , publicKey ) ; addBody ( o , "region" , region ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSshKeyDetail . class ) ; } | 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 ( resp , t18 ) ; } | 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 HashMap < String , Object > ( ) ; addBody ( o , "ipLoadbalancingServiceName" , ipLoadbalancingServiceName ) ; addBody ( o , "redirection" , redirection ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIPLoadbalancing . class ) ; } | 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" , sb . toString ( ) , null ) ; return convertTo ( resp , t19 ) ; } | 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 resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t20 ) ; } | 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 ( ) , null ) ; return convertTo ( resp , OvhUsageHistoryDetail . class ) ; } | 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/project/{serviceName}/instance" ; 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 , "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 , OvhInstanceDetail . class ) ; } | 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 , instanceId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "imageId" , imageId ) ; addBody ( o , "rescue" , rescue ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhRescueAdminPassword . class ) ; } | 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 < String , Object > ( ) ; addBody ( o , "instanceName" , instanceName ) ; exec ( qPath , "PUT" , sb . toString ( ) , o ) ; } | 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 > o = new HashMap < String , Object > ( ) ; addBody ( o , "snapshotName" , snapshotName ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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 = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhApplicationAccess . class ) ; } | 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 > o = new HashMap < String , Object > ( ) ; addBody ( o , "type" , type ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | 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 < 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 | 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 , interfaceId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | 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 . toString ( ) , null ) ; return convertTo ( resp , OvhInstanceVnc . class ) ; } | 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 , 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 | 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 = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhInstanceDetail . class ) ; } | 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 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 | 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" , sb . toString ( ) , null ) ; return convertTo ( resp , t23 ) ; } | 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 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 | 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 < 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 | 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 , "description" , description ) ; addBody ( o , "voucher" , voucher ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNewProject . class ) ; } | 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 , OvhPrice . class ) ; } | 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 . class ) ; } | 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 , sessionId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTask . class ) ; } | 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 , serviceName , pcaServiceName , sessionId ) ; query ( sb , "name" , name ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | 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 ) ; 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 | 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 = 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 | 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 , 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 | 200 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.