code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
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);
} | java |
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);
HashMap<String... | java |
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", status);
String ... | java |
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);
} | java |
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);
query(sb, "state", st... | java |
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.toString(), o);
} | java |
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);
} | java |
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 resp = exec(qPath, "POST", sb... | java |
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);
return convertTo(resp, OvhT... | java |
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);
} | java |
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, operationId);
String ... | java |
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 language, String last... | java |
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);
} | java |
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);
execN(qPath, "PO... | java |
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, "depositOrderId", deposit... | java |
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);
} | java |
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, Object>();... | java |
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, templa... | java |
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/{schemeName}/hardw... | java |
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", sb.toS... | java |
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 = "/me/ins... | java |
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(q... | java |
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, "baseTemplateName", baseTemp... | java |
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 conv... | java |
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);
} | java |
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);
} | java |
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);
} | java |
public void accessRestriction_backupCode_DELETE() throws IOException {
String qPath = "/me/accessRestriction/backupCode";
StringBuilder sb = path(qPath);
exec(qPath, "DELETE", sb.toString(), null);
} | java |
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", ... | java |
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... | java |
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);
} | java |
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);
ad... | java |
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... | java |
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);
} | java |
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);
} | java |
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);
re... | java |
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);... | java |
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);... | java |
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);
} | java |
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... | java |
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);
}
} | java |
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;
} | java |
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);
Strin... | java |
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... | java |
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 convert... | java |
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, "G... | java |
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... | java |
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, serviceN... | java |
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, servic... | java |
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(re... | java |
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", ... | java |
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(), n... | java |
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);
que... | java |
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);
} | java |
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);
} | java |
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, cont... | java |
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);
... | java |
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<Stri... | java |
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,... | java |
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<St... | java |
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);
... | java |
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",... | java |
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";
StringBuil... | java |
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);
} | java |
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);
... | java |
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 =... | java |
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>();
ad... | java |
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);
} | java |
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);
} | java |
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.toSt... | java |
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.toStri... | java |
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);
r... | java |
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, ... | java |
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);
} | java |
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... | java |
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);
} | java |
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,... | java |
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,... | java |
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... | java |
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... | java |
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(), n... | java |
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);
} | java |
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>(... | java |
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, OvhFailov... | java |
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);
} | java |
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);
} | java |
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 conve... | java |
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);
} | java |
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, OvhSs... | java |
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 conve... | java |
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, "n... | java |
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);
} | java |
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);
} | java |
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<Stri... | java |
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(), nul... | java |
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,... | java |
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);
... | java |
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/{servi... | java |
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);
... | java |
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, Obje... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.