idx
int64
0
165k
question
stringlengths
73
5.81k
target
stringlengths
5
918
12,600
public void ipOrganisation_organisationId_DELETE ( String organisationId ) throws IOException { String qPath = "/me/ipOrganisation/{organisationId}" ; StringBuilder sb = path ( qPath , organisationId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete this organisation
12,601
public void ipOrganisation_POST ( String abuse_mailbox , String address , String city , OvhCountryEnum country , String firstname , String lastname , String phone , OvhIpRegistryEnum registry , String state , String zip ) throws IOException { String qPath = "/me/ipOrganisation" ; StringBuilder sb = path ( qPath ) ; Has...
Add an organisation
12,602
public ArrayList < Long > task_domain_GET ( String domain , OvhNicOperationFunctionEnum function , OvhOperationStatusEnum status ) throws IOException { String qPath = "/me/task/domain" ; StringBuilder sb = path ( qPath ) ; query ( sb , "domain" , domain ) ; query ( sb , "function" , function ) ; query ( sb , "status" ,...
List of domain task
12,603
public void task_domain_id_accelerate_POST ( Long id ) throws IOException { String qPath = "/me/task/domain/{id}/accelerate" ; StringBuilder sb = path ( qPath , id ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; }
Accelerate the task
12,604
public ArrayList < Long > task_contactChange_GET ( String askingAccount , net . minidev . ovh . api . nichandle . changecontact . OvhTaskStateEnum state , String toAccount ) throws IOException { String qPath = "/me/task/contactChange" ; StringBuilder sb = path ( qPath ) ; query ( sb , "askingAccount" , askingAccount ) ...
List of service contact change tasks you are involved in
12,605
public void task_contactChange_id_refuse_POST ( Long id , String token ) throws IOException { String qPath = "/me/task/contactChange/{id}/refuse" ; StringBuilder sb = path ( qPath , id ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "token" , token ) ; exec ( qPath , "POST" , sb ...
Refuse this change request
12,606
public void document_id_DELETE ( String id ) throws IOException { String qPath = "/me/document/{id}" ; StringBuilder sb = path ( qPath , id ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
Delete a document
12,607
public OvhDocument document_POST ( String name , OvhSafeKeyValue < String > [ ] tags ) throws IOException { String qPath = "/me/document" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "name" , name ) ; addBody ( o , "tags" , tags ) ; String res...
Create new document
12,608
public OvhTask changeEmail_POST ( String newEmail ) throws IOException { String qPath = "/me/changeEmail" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "newEmail" , newEmail ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; re...
Initiate an email change procedure
12,609
public OvhVipStatus vipStatus_GET ( ) throws IOException { String qPath = "/me/vipStatus" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhVipStatus . class ) ; }
VIP Status of this account
12,610
public net . minidev . ovh . api . debt . entry . OvhAssociatedObject bill_billId_debt_operation_operationId_associatedObject_GET ( String billId , Long operationId ) throws IOException { String qPath = "/me/bill/{billId}/debt/operation/{operationId}/associatedObject" ; StringBuilder sb = path ( qPath , billId , operat...
Return main data about the object related to this debt operation
12,611
public OvhContact contact_contactId_PUT ( Long contactId , OvhAddress address , String birthCity , OvhCountryEnum birthCountry , Date birthDay , String birthZip , String cellPhone , String companyNationalIdentificationNumber , String email , String fax , String firstName , OvhGenderEnum gender , OvhLanguageEnum languag...
Update an existing contact
12,612
public OvhContinentCountryLocation geolocation_POST ( ) throws IOException { String qPath = "/me/geolocation" ; StringBuilder sb = path ( qPath ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhContinentCountryLocation . class ) ; }
Fetch visitor country & region
12,613
public void passwordRecover_POST ( OvhOvhCompanyEnum ovhCompany , String ovhId ) throws IOException { String qPath = "/me/passwordRecover" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ovhCompany" , ovhCompany ) ; addBody ( o , "ovhId" , ovhId...
Request a password recover
12,614
public ArrayList < Long > deposit_depositId_paidBills_billId_debt_operation_GET ( String depositId , String billId , Long depositOrderId ) throws IOException { String qPath = "/me/deposit/{depositId}/paidBills/{billId}/debt/operation" ; StringBuilder sb = path ( qPath , depositId , billId ) ; query ( sb , "depositOrder...
All operations related to these debts
12,615
public void installationTemplate_templateName_DELETE ( String templateName ) throws IOException { String qPath = "/me/installationTemplate/{templateName}" ; StringBuilder sb = path ( qPath , templateName ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; }
remove this template
12,616
public void installationTemplate_templateName_partitionScheme_POST ( String templateName , String name , Long priority ) throws IOException { String qPath = "/me/installationTemplate/{templateName}/partitionScheme" ; StringBuilder sb = path ( qPath , templateName ) ; HashMap < String , Object > o = new HashMap < String...
Add a scheme of partition
12,617
public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_name_DELETE ( String templateName , String schemeName , String name ) throws IOException { String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/hardwareRaid/{name}" ; StringBuilder sb = path ( qPath , t...
Remove this RAID
12,618
public void installationTemplate_templateName_partitionScheme_schemeName_hardwareRaid_POST ( String templateName , String schemeName , String [ ] disks , OvhTemplateOsHardwareRaidEnum mode , String name , Long step ) throws IOException { String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeNam...
Add an hardware RAID in this partitioning scheme
12,619
public void installationTemplate_templateName_partitionScheme_schemeName_DELETE ( String templateName , String schemeName ) throws IOException { String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}" ; StringBuilder sb = path ( qPath , templateName , schemeName ) ; exec ( qPath , "DELETE"...
remove this scheme of partition
12,620
public void installationTemplate_templateName_partitionScheme_schemeName_partition_POST ( String templateName , String schemeName , OvhTemplateOsFileSystemEnum filesystem , String mountpoint , Long raid , Long size , Long step , OvhTemplatePartitionTypeEnum type , String volumeName ) throws IOException { String qPath =...
Add a partition in this partitioning scheme
12,621
public void installationTemplate_templateName_partitionScheme_schemeName_partition_mountpoint_DELETE ( String templateName , String schemeName , String mountpoint ) throws IOException { String qPath = "/me/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition/{mountpoint}" ; StringBuilder sb = path...
remove this partition
12,622
public void installationTemplate_POST ( String baseTemplateName , OvhTemplateOsLanguageEnum defaultLanguage , String name ) throws IOException { String qPath = "/me/installationTemplate" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "baseTempla...
Create a template
12,623
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
12,624
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
12,625
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
12,626
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
12,627
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
12,628
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
12,629
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
12,630
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
12,631
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
12,632
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
12,633
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
12,634
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
12,635
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
12,636
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
12,637
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
12,638
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
12,639
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
12,640
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
12,641
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
12,642
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
12,643
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
12,644
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
12,645
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
12,646
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
12,647
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
12,648
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
12,649
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
12,650
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
12,651
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
12,652
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
12,653
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
12,654
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
12,655
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
12,656
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
12,657
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
12,658
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
12,659
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
12,660
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
12,661
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
12,662
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
12,663
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
12,664
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
12,665
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
12,666
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
12,667
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
12,668
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
12,669
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
12,670
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
12,671
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
12,672
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
12,673
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
12,674
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
12,675
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
12,676
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
12,677
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
12,678
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
12,679
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
12,680
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
12,681
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
12,682
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
12,683
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
12,684
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
12,685
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
12,686
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
12,687
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
12,688
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
12,689
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
12,690
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
12,691
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
12,692
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
12,693
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
12,694
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
12,695
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
12,696
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
12,697
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
12,698
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
12,699
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